Fix the output by --progress.
Previously, this just printed the last file name again and again. Now we are printing the file name we are currently looking at. This can be observed e.g. by `wmlscope --progress`.
This commit is contained in:
parent
70bd919631
commit
02907ebe75
1 changed files with 1 additions and 1 deletions
|
@ -685,7 +685,7 @@ class CrossRef:
|
|||
print("*** Beginning reference-gathering pass...")
|
||||
for (ns, fn) in all_in:
|
||||
if progress:
|
||||
print(filename)
|
||||
print(fn)
|
||||
if iswml(fn):
|
||||
with codecs.open(fn, "r", "utf8") as rfp:
|
||||
attack_name = None
|
||||
|
|
Loading…
Add table
Reference in a new issue