Have module formatter ignore more types of files.

This commit is contained in:
Michael DeHaan 2012-11-26 18:50:26 -05:00
parent 21d858f36d
commit dd5a8474f8

View file

@ -283,7 +283,8 @@ def main():
fname = os.path.join(options.module_dir, 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
print " processing module source ---> %s" % fname