diff options
author | Conley Owens <cco3@android.com> | 2012-10-09 14:29:46 -0700 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-10-09 14:29:46 -0700 |
commit | 3a6cd4200e42fbb5a21b3fb8d3c9738c0320cc63 (patch) | |
tree | 68ae5094d6530453887fb35a73fd5fa55f55a034 /manifest_xml.py | |
parent | 25f17682ca4ecd8acc887462d4bebc7c429cf110 (diff) | |
parent | 8a68ff96057ec58e524a3e41a2d8dca7b5d016bc (diff) | |
download | git-repo-3a6cd4200e42fbb5a21b3fb8d3c9738c0320cc63.tar.gz |
Merge "Coding style cleanup"
Diffstat (limited to 'manifest_xml.py')
-rw-r--r-- | manifest_xml.py | 3 |
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: |