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 0057547 commit 0072bee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions naas/secret.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def __get_remote_secret(self, name: str):
except naas_python.domains.secret.SecretSchema.SecretNotFound:
print("Secret not found.")
return None
#noqa: E722
except:
print("Secret get failed. Please retry again in few seconds.")
return None
Expand All @@ -34,6 +35,7 @@ def __create_remote_secret(self, name: str, value: str):
"Naas.api service request failed. Please retry again in few seconds."
)
return False
#noqa: E722
except:
print("Secret creation failed. Please retry again in few seconds.")
return False
Expand All @@ -49,6 +51,7 @@ def __create_remote_bulk_secret(self, secrets: str):
"Naas.api service request failed. Please retry again in few seconds."
)
return False
#noqa: E722
except:
print("Secret creation failed. Please retry again in few seconds.")
return False
Expand All @@ -63,6 +66,7 @@ def __delete_remote_secret(self, name: str):
"Naas.api service request failed. Please retry again in few seconds."
)
return False
#noqa: E722
except:
# print("Secret not found")
return False
Expand Down

0 comments on commit 0072bee

Please sign in to comment.