Marcin Kasperski  committed 853dd33

Moving style12 parsing exception to proper file.

  • Participants
  • Parent commits ac31121

Comments (0)

Files changed (2)

File src/mekk/fics/datatypes/

 from mekk.fics.datatypes.color import Color
 from mekk.fics.datatypes.game_clock import GameClock
 from mekk.fics.datatypes.player import PlayerName
-class BadStyle12Format(Exception):
-    """Failed to parse style12 string"""
-    pass
+from mekk.fics.errors import BadStyle12Format

File src/mekk/fics/

             self, "Couldn't parse command {0:>s} output. Problematic text:\n{1:>s}".format(
                 command, troublesome_text))
+class BadStyle12Format(FicsClientException):
+    """Failed to parse style12 string"""
+    pass
 class FicsCommandExecutionException(FicsCommandException):
     """Exception thrown in case command output indicates failure
     (for example when we try to observe private game or attempt