[or-cvs] r22124: {projects} Some localized package names have changed, make GetTor aware (projects/gettor/lib/gettor)

Christian Fromme kaner at strace.org
Mon Apr 5 14:12:00 UTC 2010


Author: kaner
Date: 2010-04-05 14:11:59 +0000 (Mon, 05 Apr 2010)
New Revision: 22124

Modified:
   projects/gettor/lib/gettor/packages.py
Log:
Some localized package names have changed, make GetTor aware


Modified: projects/gettor/lib/gettor/packages.py
===================================================================
--- projects/gettor/lib/gettor/packages.py	2010-04-05 13:22:27 UTC (rev 22123)
+++ projects/gettor/lib/gettor/packages.py	2010-04-05 14:11:59 UTC (rev 22124)
@@ -36,8 +36,8 @@
                      "tor-im-browser-bundle_ar": ("tor-im-browser-.*_ar.exe$", "tor-im-browser-.*_ar_split"),
                      "tor-browser-bundle_es": ("tor-browser-.*_es-ES.exe$", "tor-browser-.*_es-ES_split"),
                      "tor-im-browser-bundle_es": ("tor-im-browser-.*_es-ES.exe$", "tor-im-browser-.*_es-ES_split"),
-                     "tor-browser-bundle_fa": ("tor-browser-.*_fa-IR.exe$", "tor-browser-.*_fa-IR_split"),
-                     "tor-im-browser-bundle_fa": ("tor-im-browser-.*_fa-IR.exe$", "tor-im-browser-.*_fa-IR_split"),
+                     "tor-browser-bundle_fa": ("tor-browser-.*_fa.exe$", "tor-browser-.*_fa_split"),
+                     "tor-im-browser-bundle_fa": ("tor-im-browser-.*_fa.exe$", "tor-im-browser-.*_fa_split"),
                      "tor-browser-bundle_fr": ("tor-browser-.*_fr.exe$", "tor-browser-.*_fr_split"),
                      "tor-im-browser-bundle_fr": ("tor-im-browser-.*_fr.exe$", "tor-im-browser-.*_fr_split"),
                      "tor-browser-bundle_it": ("tor-browser-.*_it.exe$", "tor-browser-.*_it_split"),
@@ -46,8 +46,8 @@
                      "tor-im-browser-bundle_nl": ("tor-im-browser-.*_nl.exe$", "tor-im-browser-.*_nl_split"),
                      "tor-browser-bundle_pl": ("tor-browser-.*_pl.exe$", "tor-browser-.*_pl_split"),
                      "tor-im-browser-bundle_pl": ("tor-im-browser-.*_pl.exe$", "tor-im-browser-.*_pl_split"),
-                     "tor-browser-bundle_pt": ("tor-browser-.*_pt.exe$", "tor-browser-.*_pt_split"),
-                     "tor-im-browser-bundle_pt": ("tor-im-browser-.*_pt.exe$", "tor-im-browser-.*_pt_split"),
+                     "tor-browser-bundle_pt": ("tor-browser-.*_pt-PT.exe$", "tor-browser-.*_pt-PT_split"),
+                     "tor-im-browser-bundle_pt": ("tor-im-browser-.*_pt-PT.exe$", "tor-im-browser-.*_pt-PT_split"),
                      "tor-browser-bundle_ru": ("tor-browser-.*_ru.exe$", "tor-browser-.*_ru_split"),
                      "tor-im-browser-bundle_ru": ("tor-im-browser-.*_ru.exe$", "tor-im-browser-.*_ru_split"),
                      "tor-browser-bundle_zh_CN": ("tor-browser-.*_zh-CN.exe$", "tor-browser-.*_zh-CN_split"),
@@ -165,7 +165,6 @@
                             zip.write(ascfile, os.path.basename(ascfile))
                             zip.close()
                             self.packageList[pack] = zipFileName
-                            break
         if len(self.packageList) > 0:
             return True
         else:



More information about the tor-commits mailing list