You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2020/04/17 08:55:14 UTC
[cassandra] branch trunk updated: Fix python codestyle warning (and
failing test_pycodestyle_compliance)
This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new 1de8720 Fix python codestyle warning (and failing test_pycodestyle_compliance)
1de8720 is described below
commit 1de8720b3255e6df4dc6ae747b098c50b1fe1bbc
Author: Mick Semb Wever <mc...@apache.org>
AuthorDate: Fri Apr 17 10:47:44 2020 +0200
Fix python codestyle warning (and failing test_pycodestyle_compliance)
patch by Eduard Tudenhöfner; reviewed by Mick Semb Wever for CASSANDRA-15734
Co-authored-by: Eduard Tudenhöfner <ed...@datastax.com>
---
pylib/cqlshlib/saferscanner.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pylib/cqlshlib/saferscanner.py b/pylib/cqlshlib/saferscanner.py
index 75b5df7..8949321 100644
--- a/pylib/cqlshlib/saferscanner.py
+++ b/pylib/cqlshlib/saferscanner.py
@@ -98,5 +98,6 @@ class Py38SaferScanner(SaferScannerBase):
self.p = p
self.scanner = re.sre_compile.compile(p)
+
SaferScanner = Py36SaferScanner if six.PY3 else Py2SaferScanner
SaferScanner = Py38SaferScanner if version_info >= (3, 8) else SaferScanner
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org