Merge pull request #13 in KSC/webapp-tools from remove_version_check_server to master

* commit '420c02a0fa90dc270b8d4ef16a61765d2fe5938e':
  Remove version check for server
This commit is contained in:
Robin van Genderen 2019-05-23 18:37:56 +02:00
commit aff40b21b0

View File

@ -487,11 +487,8 @@ def main():
if not options.users and not options.all_users:
print('There are no users specified. Use "--all-users" to run for all users')
sys.exit(1)
# Since kopano 8.7.0 Server is renamed to server check with one we need to use
if parse_version(kopano.__version__) > parse_version('8.7.0'):
server = kopano.server(options)
else:
server = kopano.Server(options)
server = kopano.Server(options)
for user in server.users(options.users):
# Backup and restore