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:
Samuel Holland 2018-01-22 11:00:24 -06:00
parent baa0009355
commit 5f0e57d2ca

View File

@ -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)