summaryrefslogtreecommitdiffstats
path: root/xlators/experimental/fdl/src/gen_recon.py
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/experimental/fdl/src/gen_recon.py')
-rwxr-xr-xxlators/experimental/fdl/src/gen_recon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/experimental/fdl/src/gen_recon.py b/xlators/experimental/fdl/src/gen_recon.py
index 75323ea3dd9..69e45698703 100755
--- a/xlators/experimental/fdl/src/gen_recon.py
+++ b/xlators/experimental/fdl/src/gen_recon.py
@@ -101,7 +101,7 @@ def get_special_subs (name, args, fop_type):
code += fragments[recon_type].replace("@ARGNAME@",arg[1]) \
.replace("@ARGTYPE@",arg[2])
cleanup_key = recon_type + "_CLEANUP"
- if fragments.has_key(cleanup_key):
+ if cleanup_key in fragments:
new_frag = fragments[cleanup_key].replace("@ARGNAME@",arg[1])
# Make sure these get added in *reverse* order. Otherwise, a
# failure for an earlier argument might goto a label that falls