------------------------------------------------------------
revno: 1049
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Sat 2009-03-14 16:45:55 -0700
message:
Be more Pythonic.
modified:
bin/update
=== modified file 'bin/update'
--- bin/update 2009-03-14 22:10:41 +0000
+++ bin/update 2009-03-14 23:45:55 +0000
@@ -507,7 +507,7 @@
try:
msgfp = open(pckfile)
msg = cPickle.load(msgfp)
- if data == {}:
+ if not data:
# There was no .db file. Is this a post 2.1.5 .pck?
try:
data = cPickle.load(msgfp)
--
Active development version (web u/i update)
https://code.launchpad.net/~mailman-coders/mailman/2.2
Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org