From 9a6de0476ec1be2c33924f41ba4556613e0a0099 Mon Sep 17 00:00:00 2001 From: Worros Date: Mon, 6 Sep 2010 17:22:36 +0800 Subject: [PATCH] Stars: Make readHandInfo() failure log an error not info --- pyfpdb/PokerStarsToFpdb.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyfpdb/PokerStarsToFpdb.py b/pyfpdb/PokerStarsToFpdb.py index 98abcaf0..bac45faf 100644 --- a/pyfpdb/PokerStarsToFpdb.py +++ b/pyfpdb/PokerStarsToFpdb.py @@ -221,8 +221,7 @@ class PokerStars(HandHistoryConverter): m = self.re_HandInfo.search(hand.handText,re.DOTALL) m2 = self.re_GameInfo.search(hand.handText) if m is None or m2 is None: - logging.info("Didn't match re_HandInfo") - logging.info(hand.handText) + log.error("Didn't match re_HandInfo") raise FpdbParseError("No match in readHandInfo.") info.update(m.groupdict())