Skip to content

Commit

Permalink
tools: remove .svn ref from fix_unused_public
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-zero committed Oct 29, 2018
1 parent e21052e commit 9d95dc8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tools/fix_unused_public.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@
def main():
src_dir = "../src"
parsed_files = {}
for root, dir, files in os.walk(src_dir):
if("preprettify" in root):
continue
if(".svn" in root):
for root, _, files in os.walk(src_dir):
if "preprettify" in root:
continue
for fn in files:
if(not fn.endswith(".F")):
if not fn.endswith(".F"):
continue
absfn = root+"/"+fn
absfn = path.join(root, fn)

parsed_files[absfn] = parse_file(absfn)

Expand Down

0 comments on commit 9d95dc8

Please sign in to comment.