From 22a1c2fd736aa692b7330d082908b3072b24bb42 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Fri, 13 Sep 2019 19:51:08 +0200 Subject: [PATCH] Simplify value assignment --- katello_certs_tools/sslToolConfig.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/katello_certs_tools/sslToolConfig.py b/katello_certs_tools/sslToolConfig.py index cfb9981..e5a6c23 100644 --- a/katello_certs_tools/sslToolConfig.py +++ b/katello_certs_tools/sslToolConfig.py @@ -671,8 +671,7 @@ def updateDir(self, newdir=None, verbosity=0): if len(vector) == 2: key, value = vector if key.strip() == 'dir': - value = value.strip() - olddir = value + olddir = value.strip() line = '%s= %s\n' % (key, newdir) hit_CA_defaultYN = 0 if newdir == olddir: