Skip to content

Commit

Permalink
Fixed boostrap update code to properly name the files downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Moyer authored and Chris Moyer committed Oct 1, 2010
1 parent 09f8839 commit b8b79d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boto/pyami/bootstrap.py
Expand Up @@ -82,7 +82,7 @@ def fetch_s3_file(self, s3_file):
try:
from boto.utils import fetch_file
f = fetch_file(s3_file)
path = os.path.join(self.working_dir, f.name)
path = os.path.join(self.working_dir, s3_file.split("/")[-1])
open(path, "w").write(f.read())
except:
boto.log.exception('Problem Retrieving file: %s' % s3_file)
Expand Down

0 comments on commit b8b79d7

Please sign in to comment.