Skip to content

Commit

Permalink
moar fixing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
emamd committed Jun 2, 2014
1 parent 6293415 commit 68eb26b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bakery/management/commands/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,11 @@ def sync_s3(self):
"""

for file_key in self.local_files:
# store a reference to the absolute path, if we have to open it
abs_file_path = os.path.join(self.build_dir, file_key)

# check if the file exists
if file_key in self.keys:
abs_file_path = os.path.join(self.build_dir, file_key)
key = self.keys[file_key]
s3_md5 = key.etag.strip('"')
local_md5 = hashlib.md5(
Expand Down

0 comments on commit 68eb26b

Please sign in to comment.