Skip to content

Commit

Permalink
Merge pull request #12 from Just-Insane/Fix-LGTM-Issues
Browse files Browse the repository at this point in the history
Fix duplicate except block
  • Loading branch information
Just-Insane committed Aug 25, 2020
2 parents dd4f90d + 36398c5 commit babcd2f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,6 @@ def vault_read(self, value, path, key, full_path=None):
print(f"Vault not configured correctly, check VAULT_ADDR and VAULT_TOKEN env variables. {ex}")
except Exception as ex:
print(f"Error: {ex}")
except Exception as ex:
print(f"ERROR: {ex}")

elif self.kvversion == "v2":
if self.args.verbose is True:
Expand Down

0 comments on commit babcd2f

Please sign in to comment.