mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
dist: Fix replacePaths just prepending "linecache" before paths
This commit is contained in:
parent
1f05d37b20
commit
dfa1eb78cd
3
direct/src/dist/FreezeTool.py
vendored
3
direct/src/dist/FreezeTool.py
vendored
@ -1299,7 +1299,8 @@ class Freezer:
|
|||||||
for moduleName, module in list(self.mf.modules.items()):
|
for moduleName, module in list(self.mf.modules.items()):
|
||||||
if module.__code__:
|
if module.__code__:
|
||||||
origPathname = module.__code__.co_filename
|
origPathname = module.__code__.co_filename
|
||||||
replace_paths.append((origPathname, moduleName))
|
if origPathname:
|
||||||
|
replace_paths.append((origPathname, moduleName))
|
||||||
self.mf.replace_paths = replace_paths
|
self.mf.replace_paths = replace_paths
|
||||||
|
|
||||||
# Now that we have built up the replacement mapping, go back
|
# Now that we have built up the replacement mapping, go back
|
||||||
|
Loading…
x
Reference in New Issue
Block a user