summaryrefslogtreecommitdiff
path: root/ick2
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-07-09 18:45:39 +0300
committerLars Wirzenius <liw@liw.fi>2018-07-09 18:45:39 +0300
commit8039f9610f958d6541ca2a61337cca5aa9a2cfa3 (patch)
tree04c6027e2bdacce60e459c0a9f26259960d0b387 /ick2
parent36eb7ac25c14a7a6a3553f03bcfc76358b577993 (diff)
downloadick2-8039f9610f958d6541ca2a61337cca5aa9a2cfa3.tar.gz
Change: make NotFound args to not be optional
Diffstat (limited to 'ick2')
-rw-r--r--ick2/persistent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ick2/persistent.py b/ick2/persistent.py
index 535bdc0..52c5aa0 100644
--- a/ick2/persistent.py
+++ b/ick2/persistent.py
@@ -116,7 +116,7 @@ class FilePersistentState(PersistentStateInterface):
class NotFound(Exception):
- def __init__(self, kind=None, rid=None):
+ def __init__(self, kind, rid):
super().__init__(
'Resource {}:{} not found'.format(
kind or "unknown", rid or "unknown"))