diff options
Diffstat (limited to 'lib/sqlalchemy/util.py')
-rw-r--r-- | lib/sqlalchemy/util.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/util.py b/lib/sqlalchemy/util.py index 44209b104..9369a7270 100644 --- a/lib/sqlalchemy/util.py +++ b/lib/sqlalchemy/util.py @@ -294,6 +294,8 @@ class HistoryArraySet(UserList.UserList): else: self.data = [] self.readonly=readonly +# def __iter__(self): +# return iter([k for k in self.records if self.records[k] is not False]) def __getattr__(self, attr): """proxies unknown HistoryArraySet methods and attributes to the underlying data array. this allows custom list classes to be used.""" |