You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremiah Jordan (JIRA)" <ji...@apache.org> on 2015/11/02 23:29:27 UTC
[jira] [Commented] (CASSANDRA-10633) cqlsh copy uses wrong variable
name for time_format
[ https://issues.apache.org/jira/browse/CASSANDRA-10633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986176#comment-14986176 ]
Jeremiah Jordan commented on CASSANDRA-10633:
---------------------------------------------
Looks like more is broken that just this.
> cqlsh copy uses wrong variable name for time_format
> ---------------------------------------------------
>
> Key: CASSANDRA-10633
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10633
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Jeremiah Jordan
> Assignee: Jeremiah Jordan
> Fix For: 2.1.x
>
>
> {code}
> diff --git a/bin/cqlsh b/bin/cqlsh
> index ca45be3..ddf0314 100755
> --- a/bin/cqlsh
> +++ b/bin/cqlsh
> @@ -1816,7 +1816,7 @@ class Shell(cmd.Cmd):
> encoding = opts.pop('encoding', 'utf8')
> nullval = opts.pop('null', '')
> header = bool(opts.pop('header', '').lower() == 'true')
> - timestamp_format = opts.pop('time_format', self.display_timestamp_format)
> + timestamp_format = opts.pop('time_format', self.display_time_format)
> if dialect_options['quotechar'] == dialect_options['escapechar']:
> dialect_options['doublequote'] = True
> del dialect_options['escape char']
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)