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

Commit 9dda584

Browse files
author
Rohit Kolapkar
committed
CORTX-33159: Codacy fix
Signed-off-by: Rohit Kolapkar <[email protected]>
1 parent fd5e2e3 commit 9dda584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csm/core/blogic/email_conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def show(self):
154154
if os.path.isfile(EmailConfig.SSMTP_CONF):
155155
File = open(EmailConfig.SSMTP_CONF, "r")
156156
conf = File.readline()
157-
while (conf is not None and conf is not ""):
157+
while (conf is not None and conf != ""):
158158
if (conf.startswith("AuthUser")):
159159
conf.strip("\n")
160160
msg = "Sender: "+conf.split("=")[1]

0 commit comments

Comments
 (0)