i for one welcome rabbits in my orderedproperties. anyway, patched in r1773, thanks.
On Aug 9, 2006, at 2:10 PM, Kapil Thangavelu wrote: > >>> from sqlalchemy.util import OrderedProperties >>> props = OrderedProperties() >>> 'rabbit' in props: > True > > patch for OrderedProperties > > Index: util.py > =================================================================== > --- util.py (revision 1770) > +++ util.py (working copy) > @@ -121,6 +121,8 @@ > return self.__data[key] > except KeyError: > raise AttributeError(key) > + def __contains__(self, key): > + return key in self.__data > def keys(self): > return self.__data.keys() > def has_key(self, key): > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Sqlalchemy-users mailing list > Sqlalchemy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users