[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r15886: Don't return 1, it may be an error but we're not going to le (projects/gettor)



Author: ioerror
Date: 2008-07-13 23:22:56 -0400 (Sun, 13 Jul 2008)
New Revision: 15886

Modified:
   projects/gettor/gettor.py
Log:
Don't return 1, it may be an error but we're not going to let anyone know about that in the mail system itself.


Modified: projects/gettor/gettor.py
===================================================================
--- projects/gettor/gettor.py	2008-07-14 03:13:13 UTC (rev 15885)
+++ projects/gettor/gettor.py	2008-07-14 03:22:56 UTC (rev 15886)
@@ -58,7 +58,7 @@
 
     if not parsedMessage:
         syslog.syslog("gettor: No parsed message. Dropping message.")
-        exit(1)
+        exit(0)
 
     signature = False
     signature = gettor_requests.verifySignature(rawMessage)
@@ -90,11 +90,11 @@
     
     if not replyTo:
         syslog.syslog("No help dispatched. Invalid reply address for user.")
-        exit(1)
+        exit(0)
 
     if not signature and previouslyHelped:
         syslog.syslog("gettor: Unsigned messaged to gettor by blacklisted user dropped.")
-        exit(1)
+        exit(0)
 
     if not signature and not previouslyHelped:
         # Reply with some help and bail out