From 4c71fd7baf70d50aa26553f1441d786edfc1a6d2 Mon Sep 17 00:00:00 2001 From: Steffen Schaumburg Date: Thu, 10 Mar 2011 04:29:16 +0100 Subject: [PATCH] unify a string --- pyfpdb/AbsoluteToFpdb.py | 2 +- pyfpdb/BetfairToFpdb.py | 2 +- pyfpdb/CarbonToFpdb.py | 2 +- pyfpdb/EverestToFpdb.py | 2 +- pyfpdb/EverleafToFpdb.py | 2 +- pyfpdb/FulltiltToFpdb.py | 2 +- pyfpdb/OnGameToFpdb.py | 2 +- pyfpdb/PartyPokerToFpdb.py | 2 +- pyfpdb/PkrToFpdb.py | 2 +- pyfpdb/PokerStarsToFpdb.py | 2 +- pyfpdb/Win2dayToFpdb.py | 2 +- pyfpdb/WinamaxToFpdb.py | 2 +- pyfpdb/iPokerToFpdb.py | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pyfpdb/AbsoluteToFpdb.py b/pyfpdb/AbsoluteToFpdb.py index 82368767..ca38b84b 100755 --- a/pyfpdb/AbsoluteToFpdb.py +++ b/pyfpdb/AbsoluteToFpdb.py @@ -136,7 +136,7 @@ class Absolute(HandHistoryConverter): m = self.re_GameInfo.search(handText) if not m: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) diff --git a/pyfpdb/BetfairToFpdb.py b/pyfpdb/BetfairToFpdb.py index b1a94b2e..9cf66e61 100755 --- a/pyfpdb/BetfairToFpdb.py +++ b/pyfpdb/BetfairToFpdb.py @@ -73,7 +73,7 @@ class Betfair(HandHistoryConverter): m = self.re_GameInfo.search(handText) if not m: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) diff --git a/pyfpdb/CarbonToFpdb.py b/pyfpdb/CarbonToFpdb.py index a9d2fcdf..aa197cef 100644 --- a/pyfpdb/CarbonToFpdb.py +++ b/pyfpdb/CarbonToFpdb.py @@ -127,7 +127,7 @@ or None if we fail to get the info """ return self.info except AttributeError: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) diff --git a/pyfpdb/EverestToFpdb.py b/pyfpdb/EverestToFpdb.py index 348ec5bf..f40a9abf 100644 --- a/pyfpdb/EverestToFpdb.py +++ b/pyfpdb/EverestToFpdb.py @@ -98,7 +98,7 @@ class Everest(HandHistoryConverter): return self.info except AttributeError: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) diff --git a/pyfpdb/EverleafToFpdb.py b/pyfpdb/EverleafToFpdb.py index 1f03196d..650dba6c 100755 --- a/pyfpdb/EverleafToFpdb.py +++ b/pyfpdb/EverleafToFpdb.py @@ -107,7 +107,7 @@ or None if we fail to get the info """ m = self.re_GameInfo.search(handText) if not m: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) diff --git a/pyfpdb/FulltiltToFpdb.py b/pyfpdb/FulltiltToFpdb.py index 82ce699b..337e9e53 100755 --- a/pyfpdb/FulltiltToFpdb.py +++ b/pyfpdb/FulltiltToFpdb.py @@ -208,8 +208,8 @@ class Fulltilt(HandHistoryConverter): m = self.re_GameInfo.search(handText) if not m: tmp = handText[0:100] + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError for file '%s'") % self.in_path) - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) mg = m.groupdict() diff --git a/pyfpdb/OnGameToFpdb.py b/pyfpdb/OnGameToFpdb.py index c5626149..ab087440 100755 --- a/pyfpdb/OnGameToFpdb.py +++ b/pyfpdb/OnGameToFpdb.py @@ -156,7 +156,7 @@ class OnGame(HandHistoryConverter): m = self.re_HandInfo.search(handText) if not m: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) diff --git a/pyfpdb/PartyPokerToFpdb.py b/pyfpdb/PartyPokerToFpdb.py index 63dc0ad7..1ea72130 100755 --- a/pyfpdb/PartyPokerToFpdb.py +++ b/pyfpdb/PartyPokerToFpdb.py @@ -194,7 +194,7 @@ class PartyPoker(HandHistoryConverter): m_20BBmin = self.re_20BBmin.search(handText) if m is None: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) return None diff --git a/pyfpdb/PkrToFpdb.py b/pyfpdb/PkrToFpdb.py index 62519da2..96185382 100755 --- a/pyfpdb/PkrToFpdb.py +++ b/pyfpdb/PkrToFpdb.py @@ -125,7 +125,7 @@ class Pkr(HandHistoryConverter): m = self.re_GameInfo.search(handText) if not m: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) diff --git a/pyfpdb/PokerStarsToFpdb.py b/pyfpdb/PokerStarsToFpdb.py index 5d5d271d..1d836dde 100644 --- a/pyfpdb/PokerStarsToFpdb.py +++ b/pyfpdb/PokerStarsToFpdb.py @@ -182,7 +182,7 @@ class PokerStars(HandHistoryConverter): m = self.re_GameInfo.search(handText) if not m: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) diff --git a/pyfpdb/Win2dayToFpdb.py b/pyfpdb/Win2dayToFpdb.py index 3ea10010..6fdc8bd9 100755 --- a/pyfpdb/Win2dayToFpdb.py +++ b/pyfpdb/Win2dayToFpdb.py @@ -92,7 +92,7 @@ class Win2day(HandHistoryConverter): m = self.re_GameInfo.search(handText) if not m: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) diff --git a/pyfpdb/WinamaxToFpdb.py b/pyfpdb/WinamaxToFpdb.py index bd773854..f0815a35 100644 --- a/pyfpdb/WinamaxToFpdb.py +++ b/pyfpdb/WinamaxToFpdb.py @@ -169,7 +169,7 @@ class Winamax(HandHistoryConverter): m = self.re_HandInfo.search(handText) if not m: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp) diff --git a/pyfpdb/iPokerToFpdb.py b/pyfpdb/iPokerToFpdb.py index 13f4a525..3721812d 100644 --- a/pyfpdb/iPokerToFpdb.py +++ b/pyfpdb/iPokerToFpdb.py @@ -119,7 +119,7 @@ or None if we fail to get the info """ return self.info except AttributeError: tmp = handText[0:100] - log.error(_("determineGameType: Unable to recognise gametype from: '%s'") % tmp) + log.error(_("Unable to recognise gametype from: '%s'") % tmp) log.error(_("determineGameType: Raising FpdbParseError")) raise FpdbParseError(_("Unable to recognise gametype from: '%s'") % tmp)