Skip to content

Commit

Permalink
Adjusted error to account for python3 being wierd
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Robert Tester committed Apr 27, 2018
1 parent bdb33c7 commit 8be2950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion malcolm/core/serializable.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def lookup_subclass(cls, d):
try:
typeid = d["typeid"]
except KeyError:
raise FieldError("typeid field not present in dictionary ( d.keys() = %s )" % dict(d).keys())
raise FieldError("typeid field not present in dictionary ( d.keys() = %s )" % list(dict(d).keys()))

subclass = cls._subcls_lookup.get(typeid, None)
if not subclass:
Expand Down

0 comments on commit 8be2950

Please sign in to comment.