diff options
Diffstat (limited to 'lib/stwcs/gui/extract_headerlet.py')
-rw-r--r-- | lib/stwcs/gui/extract_headerlet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stwcs/gui/extract_headerlet.py b/lib/stwcs/gui/extract_headerlet.py index 8751ff3..c807920 100644 --- a/lib/stwcs/gui/extract_headerlet.py +++ b/lib/stwcs/gui/extract_headerlet.py @@ -45,7 +45,7 @@ def run(configObj=None): # such as those above cdict = configObj.dict() # remove any rules defined for the TEAL interface - if cdict.has_key("_RULES_"): del cdict['_RULES_'] + if "_RULES_" in cdict: del cdict['_RULES_'] del cdict['_task_name_'] del cdict['filename'] del cdict['output'] |