mirror of
https://github.com/kennethreitz/records.git
synced 2026-06-05 06:46:17 +00:00
+1
-1
@@ -49,7 +49,7 @@ class Record(object):
|
||||
def __getattr__(self, key):
|
||||
try:
|
||||
return self[key]
|
||||
except KeyError, e:
|
||||
except KeyError as e:
|
||||
raise AttributeError(e)
|
||||
|
||||
def __dir__(self):
|
||||
|
||||
Reference in New Issue
Block a user