Skip to content

Commit

Permalink
More logging for #89
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Mar 30, 2017
1 parent 938ce94 commit 1316433
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions bakery/management/commands/build.py
Expand Up @@ -221,14 +221,16 @@ def copytree_and_gzip(self, source_dir, target_dir):

# If it is one we want to gzip...
else:
# ... let the world know...
logger.debug("Gzipping %s" % filename)
# ... work out the file path ...
f_name = os.path.join(dest_path, filename)

# ... let the world know ...
logger.debug("Gzipping %s" % f_name)
if self.verbosity > 1:
self.stdout.write("Gzipping %s" % filename)
self.stdout.write("Gzipping %s" % f_name)

# ... create the new file in the build directory ...
f_in = open(og_file, 'rb')
f_name = os.path.join(dest_path, filename)

# ... copy the file to gzip compressed output ...
if float(sys.version[:3]) >= 2.7:
Expand Down

0 comments on commit 1316433

Please sign in to comment.