Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
auth clear should also output information when data/credentials doesn…
Browse files Browse the repository at this point in the history
…'t exist. Closes #176.
  • Loading branch information
chambridge committed Aug 15, 2017
1 parent 5ba5dc3 commit 2c20b35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rho/authclearcommand.py
Expand Up @@ -73,6 +73,8 @@ def _do_command(self):
sys.exit(1)
vault.dump_as_json_to_file(
cred_list, utilities.CREDENTIALS_PATH)
else:
print(_("All authorization credentials removed"))

elif self.options.all:
if os.path.isfile(utilities.CREDENTIALS_PATH):
Expand Down

0 comments on commit 2c20b35

Please sign in to comment.