diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-06-19 20:40:26 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-06-19 20:40:26 -0700 |
commit | 6d34633796954f2edb225c66e62ab5a188d59bb0 (patch) | |
tree | 05cb987c1fe3db9b9a8db69ae5dc264bea47a308 /tools/file_packager.py | |
parent | 9deb9db1bb03e470dba7ac2cedc6653ccbd086cc (diff) | |
parent | 4b5211c8826dbe041ce70bca0e9461e6503172f3 (diff) |
Merge pull request #480 from ehsan/crunch_import_warning
Crunch import warning
Diffstat (limited to 'tools/file_packager.py')
-rw-r--r-- | tools/file_packager.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py index a936ffd3..3844b4ae 100644 --- a/tools/file_packager.py +++ b/tools/file_packager.py @@ -27,7 +27,7 @@ TODO: You can also provide .crn files yourself, pre-crunched. With this o import os, sys, shutil -from shared import Compression, execute, suffix, unsuffixed, CRUNCH +from shared import Compression, execute, suffix, unsuffixed import shared from subprocess import Popen, PIPE, STDOUT @@ -70,6 +70,7 @@ for arg in sys.argv[1:]: in_embed = False in_compress = 0 elif arg.startswith('--crunch'): + from shared import CRUNCH crunch = arg.split('=')[1] if '=' in arg else '128' in_preload = False in_embed = False |