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 <[email protected]>
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 <[email protected]>
---
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: [email protected]
For additional commands, e-mail: [email protected]