- attached haskey.patch
KeyError in RowProxy.has_key
Issue #380
resolved
You get a KeyError when calling RowProxy's has_key with a non-existent key string. has_key should not throw a KeyError, it should just return False.
Comments (3)
-
Account Deleted -
repo owner - changed status to resolved
in fact the NoSuchColumnError is a KeyError subclass so I just switched the name in changeset:2117. im not sure why it raises NSCE for a Column instance but not a string, though.
-
repo owner crap, sorry, changeset:2118. i had the wrong KeyError in the previous one.
- Log in to comment
trivial patch