From a245109587f4f8cd952f996e087dee56929ba633 Mon Sep 17 00:00:00 2001 From: evilhero Date: Mon, 11 Feb 2013 12:07:15 -0500 Subject: [PATCH] FIX: removed some extra logging to screen for the pull-list" --- mylar/weeklypull.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mylar/weeklypull.py b/mylar/weeklypull.py index 99ded1f0..367c7342 100644 --- a/mylar/weeklypull.py +++ b/mylar/weeklypull.py @@ -131,11 +131,13 @@ def pullit(): if pulldate == shipdaterep: logger.info(u"No new pull-list available - will re-check again in 24 hours.") pullitcheck() + mylar.PULLNEW = 'no' return else: logger.info(u"Preparing to update to the new listing.") break else: + mylar.PULLNEW = 'yes' for yesyes in checkit: if yesyes in i: if format(str(yesyes)) == 'COMICS': @@ -224,7 +226,6 @@ def pullit(): if "ONE" in issue and "SHOT" in issname[n+1]: issue = "OS" if cm == (issname[n]): if issname[n] == 'PI': - print ("non-comic found.") issue = 'NA' break issue = issname[n] @@ -241,7 +242,7 @@ def pullit(): comicnm = issname[1] n = 2 while (n < comicend + 1): - #stupid - this errors out if the + #stupid - this errors out if the array mistakingly goes to far. try: comicnm = comicnm + " " + issname[n] except IndexError: @@ -267,9 +268,9 @@ def pullit(): n+=1 #print ("Comic Extra info: " + str(comicrm) ) if "NA" not in issue and issue != "": - print ("shipdate:" + str(shipdate)) - print ("pub: " + str(pub)) - print ("issue: " + str(issue)) + #print ("shipdate:" + str(shipdate)) + #print ("pub: " + str(pub)) + #print ("issue: " + str(issue)) dupefound = "no" #--start duplicate comic / issue chk for excl in excludes: