mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
b98a53df92
git-svn-id: http://svn.pyinstaller.org/trunk@2 8dd32b29-ccff-0310-8a9a-9233e24343b1
10 lines
204 B
Python
10 lines
204 B
Python
import sys
|
|
|
|
def hook(mod):
|
|
if sys.version[0] > '1':
|
|
for i in range(len(mod.imports)-1, -1, -1):
|
|
if mod.imports[i][0] == 'strop':
|
|
del mod.imports[i]
|
|
return mod
|
|
|