1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-25 17:16:51 +00:00

FIX: removed some extra logging to screen for the pull-list"

This commit is contained in:
evilhero 2013-02-11 12:07:15 -05:00
parent 3969581493
commit a245109587

View file

@ -131,11 +131,13 @@ def pullit():
if pulldate == shipdaterep: if pulldate == shipdaterep:
logger.info(u"No new pull-list available - will re-check again in 24 hours.") logger.info(u"No new pull-list available - will re-check again in 24 hours.")
pullitcheck() pullitcheck()
mylar.PULLNEW = 'no'
return return
else: else:
logger.info(u"Preparing to update to the new listing.") logger.info(u"Preparing to update to the new listing.")
break break
else: else:
mylar.PULLNEW = 'yes'
for yesyes in checkit: for yesyes in checkit:
if yesyes in i: if yesyes in i:
if format(str(yesyes)) == 'COMICS': if format(str(yesyes)) == 'COMICS':
@ -224,7 +226,6 @@ def pullit():
if "ONE" in issue and "SHOT" in issname[n+1]: issue = "OS" if "ONE" in issue and "SHOT" in issname[n+1]: issue = "OS"
if cm == (issname[n]): if cm == (issname[n]):
if issname[n] == 'PI': if issname[n] == 'PI':
print ("non-comic found.")
issue = 'NA' issue = 'NA'
break break
issue = issname[n] issue = issname[n]
@ -241,7 +242,7 @@ def pullit():
comicnm = issname[1] comicnm = issname[1]
n = 2 n = 2
while (n < comicend + 1): while (n < comicend + 1):
#stupid - this errors out if the #stupid - this errors out if the array mistakingly goes to far.
try: try:
comicnm = comicnm + " " + issname[n] comicnm = comicnm + " " + issname[n]
except IndexError: except IndexError:
@ -267,9 +268,9 @@ def pullit():
n+=1 n+=1
#print ("Comic Extra info: " + str(comicrm) ) #print ("Comic Extra info: " + str(comicrm) )
if "NA" not in issue and issue != "": if "NA" not in issue and issue != "":
print ("shipdate:" + str(shipdate)) #print ("shipdate:" + str(shipdate))
print ("pub: " + str(pub)) #print ("pub: " + str(pub))
print ("issue: " + str(issue)) #print ("issue: " + str(issue))
dupefound = "no" dupefound = "no"
#--start duplicate comic / issue chk #--start duplicate comic / issue chk
for excl in excludes: for excl in excludes: