Skip to content

Commit

Permalink
Merge branch 'master' of github.com:LuminalOSS/credstash
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-luminal committed Jun 15, 2015
2 parents 22143e3 + 34ece93 commit b4e397f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions credstash.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ def expand_wildcard(string, secrets):


def value_or_filename(string):
# argparse running on old version of python (<2.7) will pass an empty
# string to this function before it passes the actual value.
# If an empty string is passes in, just return an empty string
if string == "":
return ""
if string[0] == "@":
filename = string[1:]
try:
Expand Down

0 comments on commit b4e397f

Please sign in to comment.