Skip to content

Commit

Permalink
Remove unused enumeration
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Soloch committed Nov 4, 2022
1 parent a8793b5 commit de2656f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry_sdk/integrations/pymongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

def _strip_pii(command):
# type: (Dict[str, Any]) -> Dict[str, Any]
for idx, key in enumerate(command):
for key in command:
is_safe_field = key in SAFE_COMMAND_ATTRIBUTES
if is_safe_field:
# Skip if safe key
Expand Down

0 comments on commit de2656f

Please sign in to comment.