diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-07-09 18:45:39 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-07-09 18:45:39 +0300 |
commit | 8039f9610f958d6541ca2a61337cca5aa9a2cfa3 (patch) | |
tree | 04c6027e2bdacce60e459c0a9f26259960d0b387 /ick2 | |
parent | 36eb7ac25c14a7a6a3553f03bcfc76358b577993 (diff) | |
download | ick2-8039f9610f958d6541ca2a61337cca5aa9a2cfa3.tar.gz |
Change: make NotFound args to not be optional
Diffstat (limited to 'ick2')
-rw-r--r-- | ick2/persistent.py | 2 |
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")) |