From: Alexander Reichle-Schmehl Date: Fri, 22 Jan 2010 20:11:13 +0000 (+0100) Subject: Fix problem with uploaders containing a "," sign in their name X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=738799f8a7992d38ee6e8fe7eb8dd5f22285c732;p=dak.git Fix problem with uploaders containing a "," sign in their name --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 9c46bba5..5f45cdfc 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)