cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul cannon (Created) (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-3846) cqlsh can't show data under python2.5
Date Fri, 03 Feb 2012 20:52:55 GMT
cqlsh can't show data under python2.5

                 Key: CASSANDRA-3846
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
            Reporter: paul cannon
            Assignee: paul cannon
            Priority: Minor
             Fix For: 1.0.8

Kris Hahn discovered a python2.6-ism in recent cqlsh changes:

        bval = escapedval.encode(output_encoding, errors='backslashreplace')

python2.5's str.encode() doesn't accept a keyword argument for the second parameter. the semantics
are the same without naming the parameter, though, so removing the "errors=" bit should suffice
to make it run right.

does not affect any released version, but does affect HEAD of cassandra-1.0, cassandra-1.1,
and trunk.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message