Skip to content

Commit

Permalink
Fix overlapping variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Apr 18, 2015
1 parent 44c8aac commit 63acc35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/LRR/directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def run (self):
if not line: break
if nodes.whitespace_normalize_name(line).startswith(".. reporter-key::"):
reporter_key = re.sub("\.\.\s+reporter-key::\s*","",line).strip()
pth = self.reporterPathFromJurisdiction(traveler.rootPath,self.arguments[0],reporter_key)
newlines = open(pth).read()
rpth = self.reporterPathFromJurisdiction(traveler.rootPath,self.arguments[0],reporter_key)
newlines = open(rpth).read()
if traveler.hook.opt.conditional and not self.checkCondition(traveler, newlines):
continue
newlines = newlines.split("\n")
Expand Down

0 comments on commit 63acc35

Please sign in to comment.