Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr0p42 committed Mar 18, 2024
1 parent 679ef50 commit b3a111c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions naas/secret.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def __get_remote_secret(self, name: str):
return None
# noqa: E722
except Exception as e:
e = e
print("Secret get failed. Please retry again in few seconds.")
print("Secret get failed. Please retry again in few seconds.", e)
return None

def __create_remote_secret(self, name: str, value: str):
Expand All @@ -38,8 +37,7 @@ def __create_remote_secret(self, name: str, value: str):
return False
# noqa: E722
except Exception as e:
e = e
print("Secret creation failed. Please retry again in few seconds.")
print("Secret creation failed. Please retry again in few seconds.", e)
return False

def __create_remote_bulk_secret(self, secrets: str):
Expand All @@ -55,8 +53,7 @@ def __create_remote_bulk_secret(self, secrets: str):
return False
# noqa: E722
except Exception as e:
e = e
print("Secret creation failed. Please retry again in few seconds.")
print("Secret creation failed. Please retry again in few seconds.", e)
return False

def __delete_remote_secret(self, name: str):
Expand All @@ -71,7 +68,7 @@ def __delete_remote_secret(self, name: str):
return False
# noqa: E722
except Exception as e:
e = e
print(e)
# print("Secret not found")
return False

Expand Down

0 comments on commit b3a111c

Please sign in to comment.