Merge branch 'appveyor_setup' of https://github.com/deepak1556/atom-shell into deepak1556-appveyor_setup

Conflicts:
	script/lib/util.py
This commit is contained in:
Cheng Zhao 2014-08-07 22:27:38 +08:00
commit 8eb650ce03
2 changed files with 30 additions and 1 deletions

View file

@ -31,7 +31,7 @@ def scoped_cwd(path):
def download(text, url, path):
safe_mkdir(os.path.dirname(path))
with open(path, 'w') as local_file:
with open(path, 'wb') as local_file:
web_file = urllib2.urlopen(url)
file_size = int(web_file.info().getheaders("Content-Length")[0])
downloaded_size = 0