Skip to content

Commit

Permalink
fix: linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnage101 committed Apr 9, 2024
1 parent a565493 commit b37ea9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions enterprise/management/commands/monthly_impact_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,8 +926,7 @@ def get_query_results_from_snowflake(self):
try:
cs.execute(QUERY)
rows = cs.fetchall()
for row in rows:
yield row
yield from rows
finally:
cs.close()
ctx.close()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ def get_query_results_from_snowflake(self):
try:
cs.execute(QUERY)
rows = cs.fetchall()
for row in rows:
yield row
yield from rows
finally:
cs.close()
ctx.close()
Expand Down
2 changes: 1 addition & 1 deletion integrated_channels/integrated_channel/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def fetch_orphaned_content_audits(self):
enterprise_customer=self.enterprise_customer,
remote_deleted_at__isnull=True,
remote_created_at__isnull=False,
).filter(~non_existent_catalogs_filter | null_catalogs_filter)
).filter(~non_existent_catalogs_filter | null_catalogs_filter) # pylint: disable=unsupported-binary-operation

def update_content_synced_at(self, action_happened_at, was_successful):
"""
Expand Down

0 comments on commit b37ea9f

Please sign in to comment.