Added a version tag to the XML output.

This indicates with what version of gitinspector the output was generated.
This commit is contained in:
Adam Waldenberg 2013-03-25 03:30:27 +01:00
parent 5d6e5c2305
commit 36e5d85e8e
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ def output_header():
print(html_header.format(version.__version__, jquery_js, flot_js, pie_js, logo))
elif __selected_format__ == "xml":
print("<gitinspector>")
print("\t<version>" + version.__version__ + "</version>")
def output_footer():
if __selected_format__ == "html":