[or-cvs] r19842: {projects} stop automating the list of available gettor packages. hard- (projects/gettor/gettor)

arma at seul.org arma at seul.org
Fri Jun 26 06:02:50 UTC 2009


Author: arma
Date: 2009-06-26 02:02:50 -0400 (Fri, 26 Jun 2009)
New Revision: 19842

Modified:
   projects/gettor/gettor/responses.py
Log:
stop automating the list of available gettor packages. hard-code
it to the right order. somebody should produce some magic for
automating it again, one day.


Modified: projects/gettor/gettor/responses.py
===================================================================
--- projects/gettor/gettor/responses.py	2009-06-26 05:46:07 UTC (rev 19841)
+++ projects/gettor/gettor/responses.py	2009-06-26 06:02:50 UTC (rev 19842)
@@ -76,16 +76,28 @@
 
         return status
 
+## XXX the following line was used below to automatically list the names
+## of available packages. But they were being named in an arbitrary
+## order, which caused people to always pick the first one. I listed
+## tor-browser-bundle first since that's the one they should want.
+## Somebody should figure out how to automate yet sort. -RD
+##    """ + "".join([ "\t%s\n" % key for key in packageList.keys()]) + """
+
     def sendPackageHelp(self, packageList, source, destination):
         """ Send a helpful message to the user interacting with us """
         self.setLang(self.mailLang)
         message = _("""
     Hello, This is the "gettor" robot.
 
-    I am sorry, but your request was not understood. Please select one of the 
+    I am sorry, but your request was not understood. Please select one of the
     following package names:
 
-    """ + "".join([ "\t%s\n" % key for key in packageList.keys()]) + """
+        tor-browser-bundle
+        macosx-universal-bundle
+        panther-bundle
+        tor-im-browser-bundle
+        source-bundle
+
     Please send another mail to gettor at torproject.org. It only needs a
     single package name anywhere in the body of your email.
 



More information about the tor-commits mailing list