diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-07-09 18:42:52 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-07-09 18:42:52 +0300 |
commit | 36eb7ac25c14a7a6a3553f03bcfc76358b577993 (patch) | |
tree | e11616f8c0903a82573c4c28c9b1989ec1dd4048 /ick2/trans.py | |
parent | ecc0b99d17c67a16cf20344e3f12a9c249a78c3a (diff) | |
download | ick2-36eb7ac25c14a7a6a3553f03bcfc76358b577993.tar.gz |
Change: give NotMuch its optional args everywhere
Diffstat (limited to 'ick2/trans.py')
-rw-r--r-- | ick2/trans.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ick2/trans.py b/ick2/trans.py index c648916..f1c8e5e 100644 --- a/ick2/trans.py +++ b/ick2/trans.py @@ -56,7 +56,7 @@ class TransactionalState: def modify(self, kind, rid): if not self.state.has_resource(kind, rid): - raise ick2.NotFound() + raise ick2.NotFound(kind=kind, rid=rid) return TransactionalResource(self.state, kind, rid) def get_resource_kinds(self): |