pychecker cleanup

svn: r1254
This commit is contained in:
Don Allingham
2003-01-12 05:22:21 +00:00
parent 098e06a71e
commit b78f6cfbcb
5 changed files with 26 additions and 34 deletions

View File

@@ -102,7 +102,7 @@ class ReadTarFile:
return map
self.f.read(24) # modes
l = string.replace(self.f.read(12),chr(0),' ')
length = string.atoi(l,8)
length = int(l,8)
self.f.read(12)
self.f.read(6)
self.f.read(111)
@@ -136,7 +136,7 @@ class ReadTarFile:
for char in l:
if ord(char) != 0:
length_string = length_string + char
length = string.atoi(length_string,8)
length = int(length_string,8)
self.f.read(12)
self.f.read(6)
self.f.read(111)