mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
deploy-ng: fix run error with frozen attr module
This commit is contained in:
parent
3d7fcf2ce9
commit
ea832efb81
@ -89,11 +89,14 @@ overrideModules = {
|
|||||||
# lines from the main executable, which we don't want.
|
# lines from the main executable, which we don't want.
|
||||||
'linecache': """__all__ = ["getline", "clearcache", "checkcache"]
|
'linecache': """__all__ = ["getline", "clearcache", "checkcache"]
|
||||||
|
|
||||||
|
cache = {}
|
||||||
|
|
||||||
def getline(filename, lineno, module_globals=None):
|
def getline(filename, lineno, module_globals=None):
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
def clearcache():
|
def clearcache():
|
||||||
pass
|
global cache
|
||||||
|
cache = {}
|
||||||
|
|
||||||
def getlines(filename, module_globals=None):
|
def getlines(filename, module_globals=None):
|
||||||
return []
|
return []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user