Commits

Mike Bayer committed a74601e

fix in OrderedProperties to allow pickling

Comments (0)

Files changed (1)

lib/sqlalchemy/util.py

         self.__data[key] = object
     def __getattr__(self, key):
         try:
-            return self.__data[key]
+            return self.__dict__['_OrderedProperties__data'][key]
         except KeyError:
             raise AttributeError(key)
     def __contains__(self, key):