summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'manifest_xml.py')
-rw-r--r--manifest_xml.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index a6364a77..12072441 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -113,7 +113,7 @@ class XmlManifest(object):
113 if os.path.exists(self.manifestFile): 113 if os.path.exists(self.manifestFile):
114 os.remove(self.manifestFile) 114 os.remove(self.manifestFile)
115 os.symlink('manifests/%s' % name, self.manifestFile) 115 os.symlink('manifests/%s' % name, self.manifestFile)
116 except OSError, e: 116 except OSError:
117 raise ManifestParseError('cannot link manifest %s' % name) 117 raise ManifestParseError('cannot link manifest %s' % name)
118 118
119 def _RemoteToXml(self, r, doc, root): 119 def _RemoteToXml(self, r, doc, root):
@@ -589,7 +589,6 @@ class XmlManifest(object):
589 groups.extend(set(default_groups).difference(groups)) 589 groups.extend(set(default_groups).difference(groups))
590 590
591 if self.IsMirror: 591 if self.IsMirror:
592 relpath = None
593 worktree = None 592 worktree = None
594 gitdir = os.path.join(self.topdir, '%s.git' % name) 593 gitdir = os.path.join(self.topdir, '%s.git' % name)
595 else: 594 else: