Addons: Use builtin xml library instead of lxml

This commit is contained in:
Daniel Marjamäki 2015-08-18 10:59:57 +02:00
parent 957bdfa6ab
commit 248f468c67
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Python module that loads a cppcheck dump
# License: No restrictions, use this as you need.
from lxml import etree
import xml.etree.ElementTree as ET
## Token class. Contains information about each token in the source code.
class Token:
@ -266,7 +266,7 @@ class CppcheckData:
self.variables = []
self.valueflow = []
data = etree.parse(filename)
data = ET.parse(filename)
for element in data.getroot():
if element.tag == 'tokenlist':
for token in element: