[Zope-Checkins] CVS: Zope27/lib/python/BTrees - convert.py:1.5.62.1

Fred L. Drake, Jr. fdrake@acm.org
Tue, 20 Aug 2002 16:34:45 -0400


Update of /cvs-repository/Zope27/lib/python/BTrees
In directory cvs.zope.org:/tmp/cvs-serv11371/BTrees

Modified Files:
      Tag: Zope-2_7-development-branch
	convert.py 
Log Message:
Remove unnecessary aliasing.  Python 2.3 issues a SyntaxWarning when binding
to the name None.  Switch to using isinstance() in affected locations.


=== Zope27/lib/python/BTrees/convert.py 1.5 => 1.5.62.1 ===
--- Zope27/lib/python/BTrees/convert.py:1.5	Mon Feb 11 18:40:40 2002
+++ Zope27/lib/python/BTrees/convert.py	Tue Aug 20 16:34:14 2002
@@ -12,7 +12,7 @@
 # 
 ##############################################################################
 
-def convert(old, new, threshold=200, f=None, None=None):
+def convert(old, new, threshold=200, f=None):
     "Utility for converting old btree to new"
     n=0
     for k, v in old.items():