[CalendarServer-changes] [12517] twext/trunk/twext/who/expression.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:20:49 PDT 2014
Revision: 12517
http://trac.calendarserver.org//changeset/12517
Author: wsanchez at apple.com
Date: 2014-01-31 14:03:14 -0800 (Fri, 31 Jan 2014)
Log Message:
-----------
Use util.describe()
Modified Paths:
--------------
twext/trunk/twext/who/expression.py
Modified: twext/trunk/twext/who/expression.py
===================================================================
--- twext/trunk/twext/who/expression.py 2014-01-31 22:02:30 UTC (rev 12516)
+++ twext/trunk/twext/who/expression.py 2014-01-31 22:03:14 UTC (rev 12517)
@@ -32,6 +32,7 @@
Names, NamedConstant, Flags, FlagConstant,
)
+from .idirectory import FieldName
from .util import iterFlags, describe
@@ -211,9 +212,6 @@
def __repr__(self):
- def describe(constant):
- return getattr(constant, "description", unicode(constant))
-
if self.flags.value == 0:
flags = ""
else:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/5b1b4f46/attachment.html>
More information about the calendarserver-changes
mailing list