Made retry count for fail rar reads 7

git-svn-id: http://comictagger.googlecode.com/svn/trunk@385 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2013-02-01 03:46:16 +00:00
parent a878d36dcf
commit 2526fa0ca8

View File

@ -288,7 +288,7 @@ class RarArchiver:
rarc = self.getRARObj()
tries = 0
while tries < 5:
while tries < 7:
try:
tries = tries+1
entries = rarc.read_files( archive_file )
@ -375,7 +375,7 @@ class RarArchiver:
#return namelist
tries = 0
while tries < 5:
while tries < 7:
try:
tries = tries+1
#namelist = [ item.filename for item in rarc.infolist() ]
@ -397,7 +397,7 @@ class RarArchiver:
def getRARObj( self ):
tries = 0
while tries < 5:
while tries < 7:
try:
tries = tries+1
rarc = UnRAR2.RarFile( self.path )