From 7f1c4dcb004f581fdf27883b8708d5394640b768 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 26 Dec 2009 19:05:28 +0000 Subject: [PATCH] the mirror line usually has a colon in the url --- pkgs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs.py b/pkgs.py index d31e57d2..b2a6be8f 100755 --- a/pkgs.py +++ b/pkgs.py @@ -110,7 +110,7 @@ class PkgsParser: if self.m_comment.match(line) or self.m_blank.match(line): continue try: - [lefts,rights] = line.split(':') + [lefts,rights] = line.split(':',1) for left in lefts.split(): ########## single ident if self.m_ident.match(left): -- 2.47.0