summaryrefslogtreecommitdiff
path: root/xml.py
diff options
context:
space:
mode:
authorRaúl Benencia <rbenencia@linti.unlp.edu.ar>2012-08-02 20:10:03 -0300
committerRaúl Benencia <rbenencia@linti.unlp.edu.ar>2012-08-02 20:10:03 -0300
commit849895f9f94b70d55f3b69db07f23ba93468bca4 (patch)
treeabf258d1fdf369d8ecba8fa22f2d375a0c070b59 /xml.py
parent4d30bf280dbdb68ad72e01e911bf039b48ccb869 (diff)
Change ipcalc to ipaddr
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