From 161fd027abe64deab9d38752e1e42fb4df44f3b3 Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Wed, 4 Oct 2017 16:52:27 +0200
Subject: [PATCH] library/ipaapi.py: Fixed create_db version check

create_db is requiring an additional argument for IPA version 4.4.4 still.
---
 library/ipaapi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/ipaapi.py b/library/ipaapi.py
index 81dc4479..23bee0b4 100644
--- a/library/ipaapi.py
+++ b/library/ipaapi.py
@@ -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):
-- 
GitLab