Skip to content

Commit 4d14893

Browse files
committed
Fix for PYL-W0068: Consider using identity comparison with singleton
1 parent ec3a831 commit 4d14893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sasctl/pzmm/writeScoreCode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def upload_and_copy_score_resources(model, files):
151151

152152
# For SAS Viya 3.5, either return an error or return the model UUID as a string
153153
if isViya35:
154-
if model == None:
154+
if model is None:
155155
raise ValueError(
156156
"The model UUID is required for score code written for"
157157
+ " SAS Model Manager on SAS Viya 3.5."

0 commit comments

Comments
 (0)