fix --genscript option to generate standalone scripts that also

work with python3.3 (importer ordering)
This commit is contained in:
holger krekel
2013-02-12 22:59:29 +01:00
parent 456731ed0f
commit 296f752cca
4 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ if __name__ == "__main__":
sources = pickle.loads(zlib.decompress(base64.decodestring(sources)))
importer = DictImporter(sources)
sys.meta_path.append(importer)
sys.meta_path.insert(0, importer)
entry = "@ENTRY@"
do_exec(entry, locals())