[Zodb-checkins] CVS: Zope3/lib/python/ZODB - ExportImport.py:1.11.86.1
Jeremy Hylton
jeremy@zope.com
Mon, 4 Mar 2002 18:57:28 -0500
Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv2979
Modified Files:
Tag: Zope-3x-branch
ExportImport.py
Log Message:
Remove unused local variable.
Caught by pychecker.
=== Zope3/lib/python/ZODB/ExportImport.py 1.11 => 1.11.86.1 ===
if type(file) is StringType:
- file_name=file
file=open(file,'rb')
- else:
- try: file_name=file.name
- except: file_name='(unknown)'
read=file.read
magic=read(4)