mirror of https://github.com/apache/cassandra
Ninja fix for CASSANDRA-18745
This commit is contained in:
parent
6c7ed52bb2
commit
65ee0d082c
|
|
@ -822,7 +822,7 @@ class Shell(cmd.Cmd):
|
|||
def check_build_versions(self):
|
||||
baseversion = self.connection_versions['build']
|
||||
extra = baseversion.rfind('-')
|
||||
if extra:
|
||||
if extra != -1:
|
||||
baseversion = baseversion[0:extra]
|
||||
if baseversion != build_version:
|
||||
print("WARNING: cqlsh was built against {}, but this server is {}. All features may not work!".format(build_version, baseversion))
|
||||
|
|
|
|||
Loading…
Reference in New Issue