[Spambayes-checkins] spambayes/spambayes cdb.py,1.2,1.3

Skip Montanaro montanaro at users.sourceforge.net
Thu Dec 11 13:45:09 EST 2003


Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv2285

Modified Files:
	cdb.py 
Log Message:
conservative pychecker cleanup


Index: cdb.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/cdb.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cdb.py	14 Jan 2003 05:38:20 -0000	1.2
--- cdb.py	11 Dec 2003 18:45:07 -0000	1.3
***************
*** 12,16 ****
  import struct
  import mmap
- import sys
  
  def uint32_unpack(buf):
--- 12,15 ----
***************
*** 52,56 ****
      def __iter__(self, fn=None):
          len = 2048
-         ret = []
          while len < self.eod:
              klen, vlen = struct.unpack("<LL", self.map[len:len+8])
--- 51,54 ----





More information about the Spambayes-checkins mailing list