From 1895402bee48d7ebe534180fcae1e9738d500000 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 21 Sep 2012 13:00:44 +0530 Subject: [PATCH] ... --- setup/hosting.py | 2 +- setup/upload.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/hosting.py b/setup/hosting.py index 8dd947a16c..8707388181 100644 --- a/setup/hosting.py +++ b/setup/hosting.py @@ -164,7 +164,7 @@ class GoogleCode(Base):# {{{ typ = 'Type-' + ('Source' if fname.endswith('.xz') else 'Archive' if fname.endswith('.zip') else 'Installer') ext = os.path.splitext(fname)[1][1:] - op = 'OpSys-'+{'msi':'Windows','zip':'Windows', + op = 'OpSys-'+{'msi':'Windows','exe':'Windows', 'dmg':'OSX','bz2':'Linux','xz':'All'}[ext] desc = self.files[fname] start = time.time() diff --git a/setup/upload.py b/setup/upload.py index e8c44f941e..734cd30fa6 100644 --- a/setup/upload.py +++ b/setup/upload.py @@ -43,7 +43,7 @@ def installer_description(fname): return 'Windows installer' if fname.endswith('.dmg'): return 'OS X dmg' - if fname.endswith('.zip'): + if fname.endswith('.exe'): return 'Calibre Portable' return 'Unknown file'