summaryrefslogtreecommitdiffstats
path: root/subcmds/init.py
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-01-22 11:00:24 -0600
committerSamuel Holland <samuel@sholland.org>2018-01-22 11:00:24 -0600
commit5f0e57d2ca28dad4e0f32849609c1857abb596fc (patch)
tree82062d83b7f238ad0f91430979df06f3dd70bf43 /subcmds/init.py
parentbaa00093557d4e7e41d67ac8acfd4daccb154afd (diff)
downloadgit-repo-5f0e57d2ca28dad4e0f32849609c1857abb596fc.tar.gz
init: Remove string concat in no-op os.path.join
This also fixes a line length warning. Change-Id: I9c1ab65f83a35581dd657a707c7bc3c69db2b1dc
Diffstat (limited to 'subcmds/init.py')
-rw-r--r--subcmds/init.py3
1 files changed, 2 insertions, 1 deletions
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.
175 if not mirrored_manifest_git.endswith(".git"): 175 if not mirrored_manifest_git.endswith(".git"):
176 mirrored_manifest_git += ".git" 176 mirrored_manifest_git += ".git"
177 if not os.path.exists(mirrored_manifest_git): 177 if not os.path.exists(mirrored_manifest_git):
178 mirrored_manifest_git = os.path.join(opt.reference + '/.repo/manifests.git') 178 mirrored_manifest_git = os.path.join(opt.reference,
179 '.repo/manifests.git')
179 180
180 m._InitGitDir(mirror_git=mirrored_manifest_git) 181 m._InitGitDir(mirror_git=mirrored_manifest_git)
181 182