[Python-checkins] python/dist/src/Lib pickle.py,1.56.4.3,1.56.4.4

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Mon, 07 Oct 2002 06:18:26 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv19355

Modified Files:
      Tag: release22-maint
	pickle.py 
Log Message:
Darn. Fix stupid typo in whichmodule() backport.


Index: pickle.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pickle.py,v
retrieving revision 1.56.4.3
retrieving revision 1.56.4.4
diff -C2 -d -r1.56.4.3 -r1.56.4.4
*** pickle.py	7 Oct 2002 13:09:25 -0000	1.56.4.3
--- pickle.py	7 Oct 2002 13:18:23 -0000	1.56.4.4
***************
*** 563,567 ****
      If the function cannot be found, return __main__.
      """
!     if classmap.has_key(classmap):
          return classmap[func]
  
--- 563,567 ----
      If the function cannot be found, return __main__.
      """
!     if classmap.has_key(func):
          return classmap[func]