[or-cvs] r15892: User feedback resulted in a new help message. (projects/gettor)

ioerror at seul.org ioerror at seul.org
Mon Jul 14 04:43:46 UTC 2008


Author: ioerror
Date: 2008-07-14 00:43:46 -0400 (Mon, 14 Jul 2008)
New Revision: 15892

Modified:
   projects/gettor/gettor.py
Log:
User feedback resulted in a new help message.


Modified: projects/gettor/gettor.py
===================================================================
--- projects/gettor/gettor.py	2008-07-14 04:24:44 UTC (rev 15891)
+++ projects/gettor/gettor.py	2008-07-14 04:43:46 UTC (rev 15892)
@@ -41,7 +41,7 @@
 """
 
 __program__ = 'gettor.py'
-__version__ = '20080713.01'
+__version__ = '20080714.00'
 __url__ = 'https://tor-svn.freehaven.net/svn/tor/trunk/contrib/gettor/'
 __author__ = 'Jacob Appelbaum <jacob at appelbaum.net>'
 __copyright__ = 'Copyright (c) 2008, Jacob Appelbaum'
@@ -129,10 +129,12 @@
             gettor_responses.sendPackage(message, srcEmail, replyTo, packageList[package])  
             exit(0)
         else:
-            message = "Hi, I'm a robot. " + \
-            "Your request was not understood. Please select one of the following package names: " + \
-            str(packageList.keys()) + "\n" + \
-            "Please send me another email. It only needs a single package name anywhere in the body of your email."
+            message = "Hello, I'm a robot. " + \
+            "Your request was not understood. Please select one of the following package names: \n\n"
+
+            for key in packageList.keys():
+                message += key + " \n"
+            message += "\nPlease send me another email. It only needs a single package name anywhere in the body of your email.\n"
             gettor_responses.sendHelp(message, srcEmail, replyTo)
             syslog.syslog("gettor: Signed messaged to gettor. We issued some help about proper email formatting.")
             exit(0)



More information about the tor-commits mailing list