Commit 8153a277c7f8dd05b03563c62945db932927c463
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 | 38 | if len(bad_entries) > 0: |
| 39 | 39 | for entry in bad_entries: |
| 40 | 40 | del locals()[entry] |
| 41 | - del entry | |
| 42 | 41 | |
| 43 | 42 | # Clean-up |
| 44 | 43 | del tools |
| 45 | 44 | del gammalib |
| 46 | 45 | del bad_entries |
| 46 | +del entry | |
| 47 | 47 | |
| 48 | 48 | # Add version |
| 49 | 49 | __version__ = '@PACKAGE_VERSION@' | ... | ... |