do fake "import posix" for freeze.py script
This commit is contained in:
parent
f8c76d0cd1
commit
a28f2dc321
|
@ -23,6 +23,10 @@ _osindex = {
|
||||||
'mac': (':', '::', ':', ' ', ':'),
|
'mac': (':', '::', ':', ' ', ':'),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# For freeze.py script:
|
||||||
|
if 0:
|
||||||
|
import posix
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
for name in _osindex.keys():
|
for name in _osindex.keys():
|
||||||
if name in sys.builtin_module_names:
|
if name in sys.builtin_module_names:
|
||||||
|
|
Loading…
Reference in New Issue