------------------------------------------------------------
revno: 1083
committer: Mark Sapiro <[EMAIL PROTECTED]>
branch nick: 2.1
timestamp: Wed 2008-05-07 20:42:28 -0700
message:
  Changed formatting for standards compliance and readability.
modified:
  Mailman/Queue/Runner.py
  bin/update

=== modified file 'Mailman/Queue/Runner.py'
--- a/Mailman/Queue/Runner.py   2008-04-27 00:56:17 +0000
+++ b/Mailman/Queue/Runner.py   2008-05-08 03:42:28 +0000
@@ -109,11 +109,11 @@
                     syslog('error',
                            'Skipping and preserving unparseable message: %s',
                            filebase)
-                    preserve=True
+                    preserve = True
                 else:
                     syslog('error',
                            'Ignoring unparseable message: %s', filebase)
-                    preserve=False
+                    preserve = False
                 self._switchboard.finish(filebase, preserve=preserve)
                 continue
             try:

=== modified file 'bin/update'
--- a/bin/update        2008-04-28 17:59:50 +0000
+++ b/bin/update        2008-05-08 03:42:28 +0000
@@ -346,8 +346,9 @@
     # to a language code. All the templates get moved from templates/xx
     # to lists/xx. To avoid this, test the list name, and if it is 'en'
     # or matches a name in the messages directory, just skip this step.
-    if (mlist._internal_name <> 'en' and mlist._internal_name not in
-            os.listdir(mm_cfg.MESSAGES_DIR)):
+    if (mlist._internal_name <> 'en' and
+        mlist._internal_name not in os.listdir(mm_cfg.MESSAGES_DIR)):
+        # It's okay to move the templates.
         tmpl_dir = os.path.join(mm_cfg.PREFIX, "templates")
         list_dir = mm_cfg.LIST_DATA_DIR
         b4_tmpl_dir = os.path.join(tmpl_dir, mlist._internal_name)



--
Stable, maintained release series
https://code.launchpad.net/~mailman-coders/mailman/2.1

You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to