aboutsummaryrefslogtreecommitdiff
path: root/tools/file_packager.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-02 10:27:58 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-02 10:27:58 -0700
commit55164c9b36d232a566f94e2657bbf9926fb5ef6d (patch)
tree453341e3fa015e3ff5d2a8f016eba9fee4832381 /tools/file_packager.py
parent543131f3dd830d567f672c7185cad131242ee8fa (diff)
move file packager logging into debug-only
Diffstat (limited to 'tools/file_packager.py')
-rw-r--r--tools/file_packager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py
index 0fa6a529..0097c473 100644
--- a/tools/file_packager.py
+++ b/tools/file_packager.py
@@ -203,7 +203,7 @@ curr_abspath = os.path.abspath(os.getcwd())
for file_ in data_files:
path = file_['dstpath']
abspath = os.path.abspath(path)
- print >> sys.stderr, path, abspath, curr_abspath
+ if DEBUG: print >> sys.stderr, path, abspath, curr_abspath
if not abspath.startswith(curr_abspath):
print >> sys.stderr, 'Error: Embedding "%s" which is below the current directory. This is invalid since the current directory becomes the root that the generated code will see' % path
sys.exit(1)