Comparing a string to the enumerations in pysvn gives me an attribute
error, because they've overloaded the rich compare methods:

>>> import pysvn
>>> "string" in [pysvn.wc_notify_action.status_completed, "string"]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: expecting wc_notify_action object for rich compare

Is there a simple way around this?

Thanks,
Jason Heeris
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to