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 25d9629 commit d6fd6b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions naas/secret.py
Expand Up @@ -20,7 +20,7 @@ def __get_remote_secret(self, name: str):
print("Secret not found.")
return None
# noqa: E722
except:
except Exception as e:
print("Secret get failed. Please retry again in few seconds.")
return None

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

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

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

Expand Down

0 comments on commit d6fd6b5

Please sign in to comment.