library/ipaapi.py: Fixed create_db version check

create_db is requiring an additional argument for IPA version 4.4.4 still.
This commit is contained in:
Thomas Woerner
2017-10-04 16:52:27 +02:00
parent e908ee4b52
commit 161fd027ab

View File

@@ -172,7 +172,7 @@ def main():
# Add CA certs to a temporary NSS database
argspec = inspect.getargspec(tmp_db.create_db)
try:
if NUM_VERSION > 40400:
if NUM_VERSION > 40404:
tmp_db.create_db()
for i, cert in enumerate(ca_certs):