diff options
-rw-r--r-- | layman/overlay.py | 2 | ||||
-rw-r--r-- | layman/overlays/overlay.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layman/overlay.py b/layman/overlay.py index a787b2d..ae19f28 100644 --- a/layman/overlay.py +++ b/layman/overlay.py @@ -158,7 +158,7 @@ class Overlays: ''' xml = ET.Element('repositories', version="1.0") - xml[:] = [e.to_minidom() for e in self.overlays.values()] + xml[:] = [e.to_xml() for e in self.overlays.values()] indent(xml) tree = ET.ElementTree(xml) try: diff --git a/layman/overlays/overlay.py b/layman/overlays/overlay.py index 6ec9937..e10f562 100644 --- a/layman/overlays/overlay.py +++ b/layman/overlays/overlay.py @@ -150,7 +150,7 @@ class Overlay: self.priority = int(priority) - def to_minidom(self): + def to_xml(self): '''Convert to xml.''' repo = ET.Element('repo') |