Skip to content

Commit

Permalink
Bug 1852098 - Appease python linters r=emilio
Browse files Browse the repository at this point in the history
  • Loading branch information
chutten committed Nov 15, 2023
1 parent e14061e commit c7b5063
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dom/base/usecounters.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def read_conf(conf_filename):
stream = open(conf_filename, "r")

def parse_counters(stream):
for line_num, line in enumerate(stream):
line = line.rstrip("\n")
for line_num, full_line in enumerate(stream):
line = full_line.rstrip("\n")
if not line or line.startswith("//"):
# empty line or comment
continue
Expand Down

0 comments on commit c7b5063

Please sign in to comment.