mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-02-23 23:27:27 +08:00
Merge "Dan't accessing attr of None (manifest
subcmd)"
This commit is contained in:
commit
12fd10c201
@ -233,7 +233,9 @@ class XmlManifest(object):
|
||||
e.setAttribute('name', name)
|
||||
if relpath != name:
|
||||
e.setAttribute('path', relpath)
|
||||
remoteName = d.remote.remoteAlias or d.remote.name
|
||||
remoteName = None
|
||||
if d.remote:
|
||||
remoteName = d.remote.remoteAlias or d.remote.name
|
||||
if not d.remote or p.remote.name != remoteName:
|
||||
e.setAttribute('remote', p.remote.name)
|
||||
if peg_rev:
|
||||
|
Loading…
Reference in New Issue
Block a user