Revision: 3184
http://spambayes.svn.sourceforge.net/spambayes/?rev=3184&view=rev
Author: montanaro
Date: 2008-11-25 01:49:56 +0000 (Tue, 25 Nov 2008)
Log Message:
-----------
pylint nits
Modified Paths:
--------------
trunk/spambayes/spambayes/dbmstorage.py
Modified: trunk/spambayes/spambayes/dbmstorage.py
===================================================================
--- trunk/spambayes/spambayes/dbmstorage.py 2008-11-25 01:48:34 UTC (rev
3183)
+++ trunk/spambayes/spambayes/dbmstorage.py 2008-11-25 01:49:56 UTC (rev
3184)
@@ -38,7 +38,7 @@
# Note that Python 2.3 and later ship with the new bsddb interface
# as the default bsddb module - so 2.3 can use the old name safely.
funcs = [open_db3hash, open_gdbm]
- if sys.version_info >= (2,3):
+ if sys.version_info >= (2, 3):
funcs.insert(0, open_dbhash)
else:
funcs = [open_db3hash, open_dbhash, open_gdbm, open_db185hash]
@@ -65,8 +65,9 @@
dbm_type = whichdb.whichdb(db_name)
# if we are using Windows and Python < 2.3, then we need to use
# db3hash, not dbhash.
- if sys.platform == "win32" and sys.version_info < (2,3) and \
- dbm_type == "dbhash":
+ if (sys.platform == "win32" and
+ sys.version_info < (2, 3) and
+ dbm_type == "dbhash"):
dbm_type = "db3hash"
else:
# fresh file or overridden - open with what the user specified
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins