Exemplo n.º 1
0
 def __getClientMainVersion(self):
     mainVersion = None
     try:
         _, clentVersion = readClientServerVersion()
         parsedVersion = parseVersion(clentVersion)
         _, mainVersion, _ = parsedVersion
     except:
         LOG_ERROR('Can not read or parse client-server version')
     finally:
         return mainVersion
Exemplo n.º 2
0
	def getClientVersion():
		'''
		getClientVersion() -> cluster, version, patch
		'''
		return account_shared.readClientServerVersion()[1].split('_')