[ZCM] [ZC] 1177/ 1 Request "Problem in tar.py"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Mon Jan 12 10:52:07 EST 2004
Issue #1177 Update (Request) "Problem in tar.py"
Status Pending, Zope/bug+solution medium
To followup, visit:
http://zope.org/Collectors/Zope/1177
==============================================================
= Request - Entry #1 by Anonymous User on Jan 12, 2004 10:52 am
There seems to be a problem in the functin oct12() in file tar.py. The problem appears if you tries to add a file to a tar atchive which mtime is newer than Sat Jan 10 14:37:04 2004. Current version of oct12() in tar.py (1.7 in CVS):
<-- snip -->
def oct12(i):
i=oct(i)
return '0'*(11-len(i))+i+' '
<-- snip -->
Suggested changes:
<-- snip -->
def oct12(i):
i=oct(i)
if len(i) < 12:
return '0'*(11-len(i))+i+' '
else:
return i[1:12]+' '
<-- snip -->
==============================================================
More information about the Zope-Collector-Monitor
mailing list