Commit 9c089374 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

astakos: Convert error message to string

parent 6dbc8b28
...@@ -259,7 +259,7 @@ def resolve_pending_commissions(clientkey, accept_set=None, reject_set=None, ...@@ -259,7 +259,7 @@ def resolve_pending_commissions(clientkey, accept_set=None, reject_set=None,
key = pv.holding_key() key = pv.holding_key()
h = holdings.get(key) h = holdings.get(key)
if h is None: if h is None:
raise CorruptedError("Corrupted provision '%s'" % key) raise CorruptedError("Corrupted provision '%s'" % str(key))
provision_ids.append(pv.id) provision_ids.append(pv.id)
quantity = pv.quantity quantity = pv.quantity
......
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