Skip to content

Commit

Permalink
disambiguate variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mnot committed Dec 9, 2023
1 parent 8e7f87a commit 3acb5fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httplint/field/parsers/cache_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ def evaluate(self, add_note: AddNoteMethodType) -> None:

# conflicting directives; all in responses
if self.message.message_type == "response":
for directive, conflicts in CONFLICTING_CC:
for directive, potential_conflicts in CONFLICTING_CC:
if directive in cc_list:
conflicts = list(set(cc_list).intersection(set(conflicts)))
conflicts = list(set(cc_list).intersection(set(potential_conflicts)))
if len(conflicts) > 0:
add_note(
CC_CONFLICTING,
Expand Down

0 comments on commit 3acb5fd

Please sign in to comment.