summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-11-24 07:48:26 -0800
committerZac Medico <zmedico@gentoo.org>2010-11-24 08:42:43 -0800
commitb46bd85ba534fd7b11b7038b564e3694bc18f7e5 (patch)
treec0dae5dd74124ea63d69b7e7b1d606144de2c463
parent8159aa1acf56793cda54cc83393445aca63a1d41 (diff)
downloadportage-b46bd85ba534fd7b11b7038b564e3694bc18f7e5.tar.gz
portage-b46bd85ba534fd7b11b7038b564e3694bc18f7e5.tar.bz2
portage-b46bd85ba534fd7b11b7038b564e3694bc18f7e5.zip
action_sync: preserved leading / in ssh uri
-rw-r--r--pym/_emerge/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 23d0f89dd..6663fe6cd 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -2204,7 +2204,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
(retries, effective_maxretries, dosyncuri), noiselevel=-1)
if dosyncuri.startswith('ssh://'):
- dosyncuri = dosyncuri[6:].replace('/', ':', 1)
+ dosyncuri = dosyncuri[6:].replace('/', ':/', 1)
if mytimestamp != 0 and "--quiet" not in myopts:
print(">>> Checking server timestamp ...")