commit | d23c01303640853cace39f8957b1eb92ade26ae0 | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Thu May 16 16:18:54 2013 -0700 |
committer | Rich Lane <rlane@bigswitch.com> | Thu May 16 16:18:54 2013 -0700 |
tree | 100824c0424e8346574def5bacb1fd15f885f7d0 | |
parent | 5c4446e0ecda98df65225ca647302d8a4ddb746d [diff] |
loxigen: ignore emacs backup files when searching for input files
diff --git a/loxigen.py b/loxigen.py index ee92d6b..f30efec 100755 --- a/loxigen.py +++ b/loxigen.py
@@ -441,6 +441,9 @@ filenames = sorted(glob.glob("%s/openflow_input/*" % root_dir)) + # Ignore emacs backup files + filenames = [x for x in filenames if not x.endswith('~')] + for filename in filenames: log("Processing struct file: " + filename) ofinput = process_input_file(filename)