From: Joerg Jaspert Date: Fri, 22 Jan 2010 20:36:33 +0000 (+0100) Subject: Merge remote branch 'tolimar/uploaders' into uploaders X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=e4bf86469d02a6d9707901337083154f2c01c641;hp=7087fb77f094f969fba18b033d3138c8c0e0aa99;p=dak.git Merge remote branch 'tolimar/uploaders' into uploaders * tolimar/uploaders: Fix my very own shiny bug Fix problem with uploaders containing a "," sign in their name Signed-off-by: Joerg Jaspert --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 9c46bba5..ea11a145 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -2305,7 +2305,7 @@ def add_dsc_to_db(u, filename, session=None): # Add the src_uploaders to the DB uploader_ids = [source.maintainer_id] if u.pkg.dsc.has_key("uploaders"): - for up in u.pkg.dsc["uploaders"].split(","): + for up in u.pkg.dsc["uploaders"].replace(">, ", ">\t").split("\t"): up = up.strip() uploader_ids.append(get_or_set_maintainer(up, session).maintainer_id)