]> git.decadent.org.uk Git - dak.git/commitdiff
Fix problem with uploaders containing a "," sign in their name
authorAlexander Reichle-Schmehl <alexander@schmehl.info>
Fri, 22 Jan 2010 20:11:13 +0000 (21:11 +0100)
committerAlexander Reichle-Schmehl <alexander@schmehl.info>
Fri, 22 Jan 2010 20:11:13 +0000 (21:11 +0100)
daklib/dbconn.py

index 9c46bba515ff3b6871c1b949908ca409ae063d50..5f45cdfc9f8ee1763ef3ab2f3c40337c36d4a577 100755 (executable)
@@ -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)