Skip to content

Commit

Permalink
Fix KeyError repr for Java caller code
Browse files Browse the repository at this point in the history
  • Loading branch information
onyb committed Dec 19, 2017
1 parent 553ef5a commit e4933d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/common/org/python/exceptions/KeyError.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ public org.python.Object __str__() {
}

public KeyError(org.python.Object key) {
super(key.__repr__().toString());
super(new org.python.Object[] {key}, null);
}
}

0 comments on commit e4933d2

Please sign in to comment.