Skip to content

Commit

Permalink
Conventions: Fix erroneous skipping of files
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Nov 14, 2018
1 parent d24314e commit d23ffc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/conventions/analyze_gfortran_warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def check_warnings(fn):

# fypp line directives that leaked through as part of warning messages
if(line.startswith(' # 1 "')):
loc = line[6:-1]
loc = line.split()[2].strip('"')
loc_short = path.basename(loc)
if not path.exists(loc):
return # source file gone - skipping
Expand Down

0 comments on commit d23ffc7

Please sign in to comment.