[CalendarServer-changes] [12117] twext/trunk/twext/who/expression.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:22:20 PDT 2014
Revision: 12117
http://trac.calendarserver.org//changeset/12117
Author: wsanchez at apple.com
Date: 2013-12-16 19:06:58 -0800 (Mon, 16 Dec 2013)
Log Message:
-----------
Fix cut/paste error.
MatchFlags is no longer None.
Modified Paths:
--------------
twext/trunk/twext/who/expression.py
Modified: twext/trunk/twext/who/expression.py
===================================================================
--- twext/trunk/twext/who/expression.py 2013-12-17 02:48:22 UTC (rev 12116)
+++ twext/trunk/twext/who/expression.py 2013-12-17 03:06:58 UTC (rev 12117)
@@ -79,7 +79,7 @@
startsWith.description = u"starts with"
endsWith = NamedConstant()
- startsWith.description = u"ends with"
+ endsWith.description = u"ends with"
contains = NamedConstant()
contains.description = u"contains"
@@ -213,7 +213,7 @@
def describe(constant):
return getattr(constant, "description", unicode(constant))
- if self.flags is None:
+ if self.flags.value == 0:
flags = ""
else:
flags = " ({0})".format(describe(self.flags))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/f5d60846/attachment.html>
More information about the calendarserver-changes
mailing list