summaryrefslogtreecommitdiff
path: root/xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'xml.py')
-rw-r--r--xml.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/xml.py b/xml.py
index e01a338..f8fb0f2 100644
--- a/xml.py
+++ b/xml.py
@@ -1,4 +1,4 @@
-from xml.etree.ElementTree import ElementTree
+from xml.etree import ElementTree
import model
class DataXML(model.Data):
@@ -20,7 +20,7 @@ class DataXML(model.Data):
elif elem.tag == 'domain':
self.add_domain(elem)
elif elem.tag == 'network':
- self.add_network(elem):
+ self.add_network(elem)
else:
pass # raise TagNotFoundError
nihil fit ex nihilo