Browse Source

dist: update linecache module with missing __all__ item

rdb 4 years ago
parent
commit
98e3b1f03e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/dist/FreezeTool.py

+ 1 - 1
direct/src/dist/FreezeTool.py

@@ -147,7 +147,7 @@ overrideModules = {
     # Used by the warnings module, among others, to get line numbers.  Since
     # we set __file__, this would cause it to try and extract Python code
     # lines from the main executable, which we don't want.
-    'linecache': """__all__ = ["getline", "clearcache", "checkcache"]
+    'linecache': """__all__ = ["getline", "clearcache", "checkcache", "lazycache"]
 
 cache = {}