From 5f0e57d2ca28dad4e0f32849609c1857abb596fc Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Mon, 22 Jan 2018 11:00:24 -0600 Subject: [PATCH] init: Remove string concat in no-op os.path.join This also fixes a line length warning. Change-Id: I9c1ab65f83a35581dd657a707c7bc3c69db2b1dc --- subcmds/init.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subcmds/init.py b/subcmds/init.py index 9466b9a2..47a1c9fa 100644 --- a/subcmds/init.py +++ b/subcmds/init.py @@ -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)