Skip to content

Commit

Permalink
getTerm() is called with the value, adapted test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed May 24, 2016
1 parent 5863f14 commit 60ff2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/z3c/form/term.txt
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ stored objects still has this value.

The same goes with looking up a term by value:

>>> terms.getTerm('42')
>>> terms.getTerm(42)
Traceback (most recent call last):
...
LookupError: 42
Expand Down

0 comments on commit 60ff2c6

Please sign in to comment.