From: Thierry Parmentelat Date: Sat, 26 Dec 2009 19:05:28 +0000 (+0000) Subject: the mirror line usually has a colon in the url X-Git-Tag: coblitz-2.01-rc8~14 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7f1c4dcb004f581fdf27883b8708d5394640b768;p=build.git the mirror line usually has a colon in the url --- 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):