equal
deleted
inserted
replaced
153 |
153 |
154 class CommandError(Exception): |
154 class CommandError(Exception): |
155 """Exception raised on errors in parsing the command line.""" |
155 """Exception raised on errors in parsing the command line.""" |
156 |
156 |
157 def __init__(self, command, message): |
157 def __init__(self, command, message): |
158 # type: (bytes, bytes) -> None |
158 # type: (Optional[bytes], bytes) -> None |
159 self.command = command |
159 self.command = command |
160 self.message = message |
160 self.message = message |
161 super(CommandError, self).__init__() |
161 super(CommandError, self).__init__() |
162 |
162 |
163 __bytes__ = _tobytes |
163 __bytes__ = _tobytes |