fixed typo, thanks Mart
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.0.5 (2012-08-31 16:28:37) stable
|
||||
Version 2.0.5 (2012-09-01 07:01:32) stable
|
||||
|
||||
+1
-1
@@ -136,7 +136,7 @@ class StorageList(Storage):
|
||||
like Storage but missing elements default to [] instead of None
|
||||
"""
|
||||
def __getitem__(self,key):
|
||||
return self.__gteattr__(key)
|
||||
return self.__getattr__(key)
|
||||
def __getattr__(self, key):
|
||||
if key in self:
|
||||
return getattr(self,key)
|
||||
|
||||
Reference in New Issue
Block a user