summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-03-26 06:26:02 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-03-26 06:26:02 +0000
commitc9cfb713ce1488dc0c1cb87bcc050e3ac0de7bcb (patch)
tree3904c0ad26933567356cf76eaf693ba3afae7a07 /lib/sqlalchemy/engine.py
parent995d9afb831ec72757781d5b48e5b4eee0bfac28 (diff)
downloadsqlalchemy-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/engine.py')
-rw-r--r--lib/sqlalchemy/engine.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/engine.py b/lib/sqlalchemy/engine.py
index c804680e6..85005bb7d 100644
--- a/lib/sqlalchemy/engine.py
+++ b/lib/sqlalchemy/engine.py
@@ -852,10 +852,10 @@ class RowProxy:
def __getitem__(self, key):
return self.__parent._get_col(self.__row, key)
def __getattr__(self, name):
- try:
- return self.__parent._get_col(self.__row, name)
- except:
- raise AttributeError
+ #try:
+ return self.__parent._get_col(self.__row, name)
+ #except:
+ # raise AttributeError
def items(self):
return [(key, getattr(self, key)) for key in self.keys()]
def keys(self):