another bit of string churn - the number of strings/words to translate is going down due to this though :)

This commit is contained in:
Steffen Schaumburg 2011-03-10 05:45:07 +01:00
parent ad04ad37c2
commit 07d9df0b31

View File

@ -201,12 +201,12 @@ class Absolute(HandHistoryConverter):
if m is None or fname_info is None:
if m is None:
tmp = hand.handText[0:100]
logging.error(_("readHandInfo: Didn't match: '%s'") % tmp)
raise FpdbParseError(_("Absolute: Didn't match re_HandInfo: '%s'") % tmp)
logging.error(_("Didn't match re_HandInfo: '%s'") % tmp)
raise FpdbParseError("Absolute: " + _("Didn't match re_HandInfo: '%s'") % tmp)
elif fname_info is None:
logging.error(_("readHandInfo: File name didn't match re_*InfoFromFilename"))
logging.error(_("File name: %s") % self.in_path)
raise FpdbParseError(_("Absolute: Didn't match re_*InfoFromFilename: '%s'") % self.in_path)
raise FpdbParseError("Absolute: " + _("Didn't match re_*InfoFromFilename: '%s'") % self.in_path)
logging.debug("HID %s, Table %s" % (m.group('HID'), m.group('TABLE')))
hand.handid = m.group('HID')