Skip to content

Commit

Permalink
script_run: Changes to string formatting for alignment (iss #16)
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Mar 5, 2020
1 parent ec10d9e commit 01a5d18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DataRepository_patrons/script_run
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ if __name__ == '__main__':

if p in ['ldap_user', 'ldap_password', 'grouper_user', 'grouper_password']:
if vargs[p] is '(unset)':
print(' %s = (unset)', p)
print(' {0: >17} = (unset)'.format(p))
cred_err += 1
else:
print(' %s = (set)', p)
print(' {0: >17} = (set)'.format(p))
else:
print(' %s = %s', p, vargs[p])
print(' {0: >17} = {1:}'. format(p, vargs[p]))

if cred_err:
print("Not all credentials available!")
Expand Down

0 comments on commit 01a5d18

Please sign in to comment.