[Collab-qa-commits] r2096 - udd/udd
Iain Lane
laney at alioth.debian.org
Sun Dec 4 12:57:58 UTC 2011
Author: laney
Date: 2011-12-04 12:57:57 +0000 (Sun, 04 Dec 2011)
New Revision: 2096
Modified:
udd/udd/upload_history_gatherer.py
Log:
Don't require an email address in signed_by
Sometimes (esp. from Ubuntu), this can be unavailable and will be "N/A". Allow
this.
Modified: udd/udd/upload_history_gatherer.py
===================================================================
--- udd/udd/upload_history_gatherer.py 2011-12-01 23:55:51 UTC (rev 2095)
+++ udd/udd/upload_history_gatherer.py 2011-12-04 12:57:57 UTC (rev 2096)
@@ -116,9 +116,8 @@
if line == '':
current['Changed-By_name'], current['Changed-By_email'] = aux.parse_email(current['Changed-By'])
current['Maintainer_name'], current['Maintainer_email'] = aux.parse_email(current['Maintainer'])
- if current['Signed-By'].find('@') != -1:
- current['Signed-By_name'], current['Signed-By_email'] = aux.parse_email(current['Signed-By'])
- else:
+ current['Signed-By_name'], current['Signed-By_email'] = aux.parse_email(current['Signed-By'])
+ if current['Signed-By_name'] == '':
current['Signed-By_name'] = current['Signed-By']
current['Signed-By_email'] = ''
More information about the Collab-qa-commits
mailing list