Have module formatter ignore more types of files.
This commit is contained in:
parent
21d858f36d
commit
dd5a8474f8
1 changed files with 2 additions and 1 deletions
|
@ -283,7 +283,8 @@ def main():
|
||||||
fname = os.path.join(options.module_dir, module)
|
fname = os.path.join(options.module_dir, module)
|
||||||
extra = os.path.join("inc", "%s.tex" % module)
|
extra = os.path.join("inc", "%s.tex" % module)
|
||||||
|
|
||||||
if fname.endswith(".swp"):
|
# probably could just throw out everything with extensions
|
||||||
|
if fname.endswith(".swp") or fname.endswith(".orig") or fname.endswith(".rej"):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
print " processing module source ---> %s" % fname
|
print " processing module source ---> %s" % fname
|
||||||
|
|
Loading…
Reference in a new issue