Skip to content

Commit

Permalink
Simplify value assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl authored and ehelms committed May 21, 2020
1 parent 19f94ae commit 22a1c2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions katello_certs_tools/sslToolConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 22a1c2f

Please sign in to comment.