Skip to content

Commit

Permalink
Merge pull request #30 from lubomir/better-git-user
Browse files Browse the repository at this point in the history
Split hostname from username
  • Loading branch information
lubomir committed Nov 21, 2019
2 parents 0fe7c4a + 74993e2 commit 410f83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rcm_nexus/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def _read_config(path):
def add_product(config, environment, key, ids):
tempdir = tempfile.mkdtemp(prefix="rcm-nexus-config-")
clone_dir = os.path.join(tempdir, "clone")
remote_url = config.write_remote_repo.format(user=config.username)
remote_url = config.write_remote_repo.format(user=config.username.split("@")[0])
try:
print("Cloning remote git configuration repository...")
_clone_config_repo(clone_dir, remote_url, limit_depth=False)
Expand Down

0 comments on commit 410f83f

Please sign in to comment.