Have module formatter ignore more types of files.

pull/1684/merge
Michael DeHaan 12 years ago
parent 21d858f36d
commit dd5a8474f8

@ -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

Loading…
Cancel
Save