From a8f627faab83e8405a15a2cf1fb7d722467a0d6b Mon Sep 17 00:00:00 2001 From: Will Woods Date: Fri, 1 Jul 2011 14:41:13 -0400 Subject: [PATCH] module-info fix: first line must be "Version 0" --- src/pylorax/treebuilder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py index 66b15af2..85153ec1 100644 --- a/src/pylorax/treebuilder.py +++ b/src/pylorax/treebuilder.py @@ -187,6 +187,7 @@ def generate_module_info(moddir, outfile=None): modinfo.append(dict(name=name, type=modtype, desc=desc)) out = open(outfile or joinpaths(moddir,"module-info"), "w") + out.write("Version 0\n") for mod in sorted(modinfo, key=lambda m: m.get('name')): out.write('{name}\n\t{type}\n\t"{desc:.65}"\n'.format(**mod))