fix minor string typo in imapfetcher

This commit is contained in:
steffen123 2010-09-17 19:18:16 +02:00
parent a81910d7f1
commit a6b679c7fb

View File

@ -45,21 +45,21 @@ else:
except IOError: except IOError:
def _(string): return string def _(string): return string
def splitPokerStarsSummaries(summaryText): def splitPokerStarsSummaries(summaryText): #TODO: this needs to go to PSS.py
re_SplitTourneys = PokerStarsSummary.PokerStarsSummary.re_SplitTourneys re_SplitTourneys = PokerStarsSummary.PokerStarsSummary.re_SplitTourneys
splitSummaries = re.split(re_SplitTourneys, summaryText) splitSummaries = re.split(re_SplitTourneys, summaryText)
if len(splitSummaries) <= 1: if len(splitSummaries) <= 1:
print _("DEBUG: re_SplitTourneyss isn't matching") print _("DEBUG: re_SplitTourneys isn't matching")
return splitSummaries return splitSummaries
def splitFullTiltSummaries(summaryText): def splitFullTiltSummaries(summaryText):#TODO: this needs to go to FTPS.py
re_SplitTourneys = FullTiltPokerSummary.FullTiltPokerSummary.re_SplitTourneys re_SplitTourneys = FullTiltPokerSummary.FullTiltPokerSummary.re_SplitTourneys
splitSummaries = re.split(re_SplitTourneys, summaryText) splitSummaries = re.split(re_SplitTourneys, summaryText)
if len(splitSummaries) <= 1: if len(splitSummaries) <= 1:
print _("DEBUG: re_SplitTourneyss isn't matching") print _("DEBUG: re_SplitTourneys isn't matching")
return splitSummaries return splitSummaries