cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r1084746 - /cassandra/trunk/drivers/py/cql/marshal.py
Date Wed, 23 Mar 2011 21:17:23 GMT
Author: eevans
Date: Wed Mar 23 21:17:23 2011
New Revision: 1084746

URL: http://svn.apache.org/viewvc?rev=1084746&view=rev
Log:
fix buggy timeuuid term marshalling

Patch by eevans

Modified:
    cassandra/trunk/drivers/py/cql/marshal.py

Modified: cassandra/trunk/drivers/py/cql/marshal.py
URL: http://svn.apache.org/viewvc/cassandra/trunk/drivers/py/cql/marshal.py?rev=1084746&r1=1084745&r2=1084746&view=diff
==============================================================================
--- cassandra/trunk/drivers/py/cql/marshal.py (original)
+++ cassandra/trunk/drivers/py/cql/marshal.py Wed Mar 23 21:17:23 2011
@@ -53,10 +53,7 @@ def marshal(term):
     elif isinstance(term, str):
         return "'%s'" % __escape_quotes(term)
     elif isinstance(term, UUID):
-        if term.version == 1:
-            return "timeuuid(\"%s\")" % str(term)
-        else:
-            return str(term)
+        return str(term)
     else:
         return str(term)    
     



Mime
View raw message