Commit ab08ecc8 authored by Daniel Salzman's avatar Daniel Salzman

python/libknot: make KnotCtlError.str() one-liner

parent 2d9673eb
......@@ -93,7 +93,7 @@ class KnotCtlError(Exception): = data
def __str__(self):
return "message: %s\ndata: %s" % (self.message,
return "%s (data: %s)" % (self.message,
class KnotCtlType(IntEnum):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment