Skip to content

Commit

Permalink
Tidier global handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Herbert committed Nov 18, 2024
1 parent 91a249c commit 8951b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/builder2ibek/converters/globalHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def handler(entity, entity_type, ioc, realHandler=None):
"""
Default behavior: XML to YAML generic conversion module
Generic/global entity handler
"""
entity.remove("gda_name")
entity.remove("gda_desc")
Expand All @@ -14,7 +14,7 @@ def handler(entity, entity_type, ioc, realHandler=None):
else:
return None

def globalHandler(realHandler=None):
def globalHandler(realHandler):
"""
Decorator for generic global handler
"""
Expand Down

0 comments on commit 8951b95

Please sign in to comment.