-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
delete variable #3813
delete variable #3813
Conversation
@@ -251,7 +251,6 @@ def run_query(self, query, user): | |||
step["$sort"] = SON(sort_list) | |||
|
|||
if not aggregate: | |||
s = None |
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.
It looks like this whole if block can be removed, as it being overridden below.
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.
that's exactly. thanks!
Thanks for the reviews @arikfr . I updated code. Please review once again! |
So it took me a while to get back to this, but it's merged now. Thanks. |
What type of PR is this? (check all applicable)
Description
I found variable don't used and re-declarate. So it deleted
Related Tickets & Documents