summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'manifest_xml.py')
-rw-r--r--manifest_xml.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index fd0e4f12..7f38d8c3 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -56,6 +56,7 @@ urllib.parse.uses_netloc.extend([
56 'sso', 56 'sso',
57 'rpc']) 57 'rpc'])
58 58
59
59class _Default(object): 60class _Default(object):
60 """Project defaults within the manifest.""" 61 """Project defaults within the manifest."""
61 62
@@ -74,6 +75,7 @@ class _Default(object):
74 def __ne__(self, other): 75 def __ne__(self, other):
75 return self.__dict__ != other.__dict__ 76 return self.__dict__ != other.__dict__
76 77
78
77class _XmlRemote(object): 79class _XmlRemote(object):
78 def __init__(self, 80 def __init__(self,
79 name, 81 name,
@@ -127,6 +129,7 @@ class _XmlRemote(object):
127 orig_name=self.name, 129 orig_name=self.name,
128 fetchUrl=self.fetchUrl) 130 fetchUrl=self.fetchUrl)
129 131
132
130class XmlManifest(object): 133class XmlManifest(object):
131 """manages the repo configuration file""" 134 """manages the repo configuration file"""
132 135
@@ -655,7 +658,6 @@ class XmlManifest(object):
655 if self._repo_hooks_project and (self._repo_hooks_project.name == name): 658 if self._repo_hooks_project and (self._repo_hooks_project.name == name):
656 self._repo_hooks_project = None 659 self._repo_hooks_project = None
657 660
658
659 def _AddMetaProjectMirror(self, m): 661 def _AddMetaProjectMirror(self, m):
660 name = None 662 name = None
661 m_url = m.GetRemote(m.remote.name).url 663 m_url = m.GetRemote(m.remote.name).url