replica: fix SetuptoolsVersion comparison

Python 3 does not allow comparing SetuptoolsVersion and str
instances.

https://pagure.io/freeipa/issue/4985

Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Stanislav Laznicka authored and Pavel Vomacka committed 2017-08-03 13:48:12 +02:00
1 parent 1124eee2ff
commit 76904ba84d
1 file changed
+1 -1
+1 -1
View File
@@ -1116,7 +1116,7 @@ def promote_check(installer):
installer._remote_api = remote_api
with rpc_client(remote_api) as client:
check_remote_version(client, api.env.version)
check_remote_version(client, parse_version(api.env.version))
check_remote_fips_mode(client, api.env.fips_mode)
conn = remote_api.Backend.ldap2