diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-03-26 06:26:02 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-03-26 06:26:02 +0000 |
commit | c9cfb713ce1488dc0c1cb87bcc050e3ac0de7bcb (patch) | |
tree | 3904c0ad26933567356cf76eaf693ba3afae7a07 /lib/sqlalchemy/util.py | |
parent | 995d9afb831ec72757781d5b48e5b4eee0bfac28 (diff) | |
download | sqlalchemy-c9cfb713ce1488dc0c1cb87bcc050e3ac0de7bcb.tar.gz |
util: the __setitem__ method on historyarraylist was meaningless, surprising nobody noticed that.
types: added PickleType, its slightly trickier than trivial, so OK now its standard.
attributes: the level of pain if an AttributeError occurs inside a CallableProp, in combination with an object that implements __getattr__, is too deep for me to put the users through....so convert AttributeErrors to Assertions...
engine: im not a fan of catching universal exceptions and squashing them
Diffstat (limited to 'lib/sqlalchemy/util.py')
-rw-r--r-- | lib/sqlalchemy/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/util.py b/lib/sqlalchemy/util.py index 85bbfdc5a..44209b104 100644 --- a/lib/sqlalchemy/util.py +++ b/lib/sqlalchemy/util.py @@ -397,7 +397,7 @@ class HistoryArraySet(UserList.UserList): def has_item(self, item): return self.records.has_key(item) def __setitem__(self, i, item): - if self._setrecord(a): + if self._setrecord(item): self.data[i] = item def __delitem__(self, i): self._delrecord(self.data[i]) |