init: Remove string concat in no-op os.path.join
This also fixes a line length warning. Change-Id: I9c1ab65f83a35581dd657a707c7bc3c69db2b1dc
This commit is contained in:
parent
baa0009355
commit
5f0e57d2ca
1 changed files with 2 additions and 1 deletions
|
@ -175,7 +175,8 @@ to update the working directory files.
|
|||
if not mirrored_manifest_git.endswith(".git"):
|
||||
mirrored_manifest_git += ".git"
|
||||
if not os.path.exists(mirrored_manifest_git):
|
||||
mirrored_manifest_git = os.path.join(opt.reference + '/.repo/manifests.git')
|
||||
mirrored_manifest_git = os.path.join(opt.reference,
|
||||
'.repo/manifests.git')
|
||||
|
||||
m._InitGitDir(mirror_git=mirrored_manifest_git)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue