diff options
Diffstat (limited to 'src/python/generate.py')
-rw-r--r-- | src/python/generate.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python/generate.py b/src/python/generate.py index 6b167552e..7c6ca1c5e 100644 --- a/src/python/generate.py +++ b/src/python/generate.py @@ -46,8 +46,10 @@ class DictImporter(object): self.unload() def unload(self): + import sys for module in self.installed: del sys.modules[module] + self.installed = set() def find_module(self, fullname, path): if fullname == '__scons': |