[Python-checkins] r58523 - tracker/instances/python-dev/detectors/sendmail.py

erik.forsberg python-checkins at python.org
Wed Oct 17 21:10:25 CEST 2007


Author: erik.forsberg
Date: Wed Oct 17 21:10:24 2007
New Revision: 58523

Modified:
   tracker/instances/python-dev/detectors/sendmail.py
Log:
Move msg about added/removed files to bottom of changelist.


Modified: tracker/instances/python-dev/detectors/sendmail.py
==============================================================================
--- tracker/instances/python-dev/detectors/sendmail.py	(original)
+++ tracker/instances/python-dev/detectors/sendmail.py	Wed Oct 17 21:10:24 2007
@@ -82,15 +82,12 @@
         for fid in added:
             url = db.config.TRACKER_WEB + "file%s/%s" % \
                   (fid, db.file.get(fid, "name"))
-            filemsg+="Added file: %s\n" % url
+            changenote+="\nAdded file: %s" % url
         for fid in removed:
             url = db.config.TRACKER_WEB + "file%s/%s" % \
                   (fid, db.file.get(fid, "name"))            
-            filemsg+="Removed file: %s" % url
+            changenote+="\nRemoved file: %s" % url
 
-        siglen = len(cl.email_signature(nodeid, None))
-        changenote = changenote[:-siglen] + filemsg + \
-                     changenote[-siglen:]
 
     authid = db.getuid()
 


More information about the Python-checkins mailing list