-
Notifications
You must be signed in to change notification settings - Fork 140
Fix issue 4206 #4207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issue 4206 #4207
Changes from all commits
1c0fb6a
028f770
016cbc3
f719869
a4829de
74ad0ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -853,6 +853,8 @@ def interp_star_status(status): | |||||||||
| "type": items[1], | ||||||||||
| "workspace": int(items[4]), | ||||||||||
| } | ||||||||||
| elif items[1] in ["C_FullFile"]: | ||||||||||
|
||||||||||
| elif items[1] in ["C_FullFile"]: | |
| elif items[1] in ["C_FullFile"]: | |
| # C_FullFile parameters only require the 'type' field. | |
| # No additional fields (e.g., 'workspace', 'shape') are needed for this type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a list with a single element for string comparison is unnecessary. Consider using a direct string comparison:
elif items[1] == "C_FullFile":for better readability and performance.