Commit e9eb7991 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

quotaholder: Fix printing of holding key

parent 44384026
...@@ -174,7 +174,7 @@ class QuotaholderDjangoDBCallpoint(object): ...@@ -174,7 +174,7 @@ class QuotaholderDjangoDBCallpoint(object):
try: try:
th = holdings[key] th = holdings[key]
except KeyError: except KeyError:
m = ("There is no such holding %s" % key) m = ("There is no such holding %s" % str(key))
provision = self._mkProvision(key, quantity) provision = self._mkProvision(key, quantity)
raise NoHoldingError(m, raise NoHoldingError(m,
provision=provision) provision=provision)
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