hide overly picky warnings from 'pylint' for pep8 script, indentation edits.

This commit is contained in:
2011-11-19 16:17:35 +00:00
parent ddf207b7c3
commit d9e99abe37
12 changed files with 145 additions and 168 deletions

View File

@@ -149,10 +149,11 @@ def cmake_advanced_info():
from xml.dom.minidom import parse
tree = parse(join(CMAKE_DIR, ".cproject"))
'''
f = open(".cproject_pretty", 'w')
f.write(tree.toprettyxml(indent=" ", newl=""))
'''
# to check on nicer xml
# f = open(".cproject_pretty", 'w')
# f.write(tree.toprettyxml(indent=" ", newl=""))
ELEMENT_NODE = tree.ELEMENT_NODE
cproject, = tree.getElementsByTagName("cproject")