FulltiltToFpdb: Throw exception when HandInfo reg ex doesn't match.

This commit is contained in:
Eratosthenes 2010-08-26 22:52:16 -04:00
parent 96d1ffe4fa
commit eef5fd28e8

View File

@ -208,8 +208,7 @@ class Fulltilt(HandHistoryConverter):
if m is None: if m is None:
logging.info("Didn't match re_HandInfo") logging.info("Didn't match re_HandInfo")
logging.info(hand.handText) logging.info(hand.handText)
# Should this throw an exception? - CG raise FpdbParseError("No match in readHandInfo.")
return None
hand.handid = m.group('HID') hand.handid = m.group('HID')
hand.tablename = m.group('TABLE') hand.tablename = m.group('TABLE')