Commit 8153a277c7f8dd05b03563c62945db932927c463

Authored by Jürgen Knödlseder
1 parent 561e6899

Fix cleanup in ctools Python module initialisation

Showing 1 changed file with 1 additions and 1 deletions
pyext/ctools/__init__.py.in
@@ -38,12 +38,12 @@ bad_entries = [entry for entry in list(locals()) @@ -38,12 +38,12 @@ bad_entries = [entry for entry in list(locals())
38 if len(bad_entries) > 0: 38 if len(bad_entries) > 0:
39 for entry in bad_entries: 39 for entry in bad_entries:
40 del locals()[entry] 40 del locals()[entry]
41 - del entry  
42 41
43 # Clean-up 42 # Clean-up
44 del tools 43 del tools
45 del gammalib 44 del gammalib
46 del bad_entries 45 del bad_entries
  46 +del entry
47 47
48 # Add version 48 # Add version
49 __version__ = '@PACKAGE_VERSION@' 49 __version__ = '@PACKAGE_VERSION@'