[CalendarServer-changes] [6838] CalendarServer/trunk/contrib/performance/stats.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 1 10:10:20 PST 2011


Revision: 6838
          http://trac.macosforge.org/projects/calendarserver/changeset/6838
Author:   cdaboo at apple.com
Date:     2011-02-01 10:10:18 -0800 (Tue, 01 Feb 2011)
Log Message:
-----------
Handle api change from 0.1.1 to 0.1.2.

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/stats.py

Modified: CalendarServer/trunk/contrib/performance/stats.py
===================================================================
--- CalendarServer/trunk/contrib/performance/stats.py	2011-02-01 17:32:41 UTC (rev 6837)
+++ CalendarServer/trunk/contrib/performance/stats.py	2011-02-01 18:10:18 UTC (rev 6838)
@@ -100,7 +100,7 @@
     commands = ['summarize', 'statements', 'transcript']
 
     def _is_literal(self, token):
-        if sqlparse.tokens.is_token_subtype(token.ttype, sqlparse.tokens.Literal):
+        if token.ttype in sqlparse.tokens.Literal:
             return True
         if token.ttype == sqlparse.tokens.Keyword and token.value in (u'True', u'False'):
             return True
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110201/a3706ba7/attachment.html>


More information about the calendarserver-changes mailing list