diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-04 12:19:54 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-04 12:19:54 +0200 |
commit | 0632ad9c4109deee20c2d110b8541c4907f3bc9d (patch) | |
tree | 77b4650c170eb17eb4d3db75d2cb9b6682941448 | |
parent | 233c0a1ccdb7ec3a2c79ff63901522ff04f9a54b (diff) | |
download | babel-0632ad9c4109deee20c2d110b8541c4907f3bc9d.tar.gz |
Fixed the cldr download and import
-rwxr-xr-x | scripts/download_import_cldr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/download_import_cldr.py b/scripts/download_import_cldr.py index 6195d4a..3b21117 100755 --- a/scripts/download_import_cldr.py +++ b/scripts/download_import_cldr.py @@ -20,8 +20,8 @@ def main(): zip_path = os.path.join(cldr_path, FILENAME) if not os.path.isfile(zip_path): - with open(zip_path) as f: - conn = urllib.open(URL) + with open(zip_path, 'wb') as f: + conn = urllib.urlopen(URL) while True: buf = conn.read(BLKSIZE) if not buf: |