Lines Matching refs:fn
28 fn = "example.py"
29 tree = dr.parse_file(fn, debug=True)
30 if not diff(fn, tree):
42 fn = mod.__file__
43 if fn.endswith(".pyc"):
44 fn = fn[:-1]
45 if not fn.endswith(".py"):
47 print >>sys.stderr, "Parsing", fn
48 tree = dr.parse_file(fn, debug=True)
49 if diff(fn, tree):
50 problems.append(fn)
63 fn = os.path.join(dir, name)
65 tree = dr.parse_file(fn, debug=True)
69 if diff(fn, tree):
70 problems.append(fn)
77 for fn in problems:
78 print "***", fn
80 def diff(fn, tree): argument
87 return os.system("diff -u %s @" % fn)