From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PsqjW-0003uJ-RP for garchives@archives.gentoo.org; Fri, 25 Feb 2011 06:00:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44EECE04F2; Fri, 25 Feb 2011 06:00:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 15461E04F2 for ; Fri, 25 Feb 2011 06:00:46 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D7A41B41F2 for ; Fri, 25 Feb 2011 06:00:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id BED208006A for ; Fri, 25 Feb 2011 06:00:44 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <0f065ee055741fe219187df3ad5fb58055a53902.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/actions.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 0f065ee055741fe219187df3ad5fb58055a53902 Date: Fri, 25 Feb 2011 06:00:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 52975dedf3a09944400249d79706f972 commit: 0f065ee055741fe219187df3ad5fb58055a53902 Author: Zac Medico gentoo org> AuthorDate: Fri Feb 25 05:58:44 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri Feb 25 05:58:44 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D0f065ee0 action_sync: handle IPv6 [ip] in SYNC This will fix bug #356375. --- pym/_emerge/actions.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 8330c04..1b3b181 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2089,7 +2089,8 @@ def action_sync(settings, trees, mtimedb, myopts, m= yaction): =20 retries=3D0 proto, user_name, hostname, port =3D re.split( - "(rsync|ssh)://([^:/]+@)?([^:/]*)(:[0-9]+)?", syncuri, maxsplit=3D4)[= 1:5] + r"(rsync|ssh)://([^:/]+@)?(\[[:\da-fA-F]*\]|[^:/]*)(:[0-9]+)?", + syncuri, maxsplit=3D4)[1:5] if port is None: port=3D"" if user_name is None: