[Python-checkins] CVS: python/dist/src/Tools/freeze modulefinder.py,1.11,1.12

Guido van Rossum python-dev@python.org
Tue, 2 May 2000 09:49:16 -0400 (EDT)


Update of /projects/cvsroot/python/dist/src/Tools/freeze
In directory eric:/projects/python/develop/guido/src/Tools/freeze

Modified Files:
	modulefinder.py 
Log Message:
Sjoerd Mullender:

Bad % formatting.


Index: modulefinder.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Tools/freeze/modulefinder.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** modulefinder.py	1999/11/02 15:46:44	1.11
--- modulefinder.py	2000/05/02 13:49:13	1.12
***************
*** 250,254 ****
              if fp.read(4) != imp.get_magic():
                  self.msgout(2, "raise ImportError: Bad magic number", pathname)
!                 raise ImportError, "Bad magic number in %s", pathname
              fp.read(4)
              co = marshal.load(fp)
--- 250,254 ----
              if fp.read(4) != imp.get_magic():
                  self.msgout(2, "raise ImportError: Bad magic number", pathname)
!                 raise ImportError, "Bad magic number in %s" % pathname
              fp.read(4)
              co = marshal.load(fp)