Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
CORTX-33159: Codacy fix
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Kolapkar <rohit.j.kolapkar@seagate.com>
  • Loading branch information
Rohit Kolapkar committed Aug 5, 2022
1 parent fd5e2e3 commit 9dda584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csm/core/blogic/email_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def show(self):
if os.path.isfile(EmailConfig.SSMTP_CONF):
File = open(EmailConfig.SSMTP_CONF, "r")
conf = File.readline()
while (conf is not None and conf is not ""):
while (conf is not None and conf != ""):
if (conf.startswith("AuthUser")):
conf.strip("\n")
msg = "Sender: "+conf.split("=")[1]
Expand Down

0 comments on commit 9dda584

Please sign in to comment.