Commit e8d48779e4d7844cbc59be9c72f2070de939111c

Authored by Jürgen Knödlseder
1 parent 6ba1e9b5

Remove unnecessary modules

Showing 1 changed file with 6 additions and 0 deletions
pyext/ctools/__init__.py
1 1 from .ctools import *
2 2 import obsutils
3 3  
  4 +bad_entries = [entry for entry in list(locals())
  5 + if entry.endswith('_swigregister')]
  6 +for entry in bad_entries:
  7 + del locals()[entry]
  8 +del gammalib
  9 +del ctools
... ...