]> err.no Git - dak/commitdiff
spaces in uploader names
authorThomas Viehmann <tv@beamnet.de>
Thu, 25 Sep 2008 13:50:06 +0000 (13:50 +0000)
committerThomas Viehmann <tv@beamnet.de>
Thu, 25 Sep 2008 13:50:06 +0000 (13:50 +0000)
Signed-off-by: Thomas Viehmann <tv@beamnet.de>
tools/debianqueued-0.9/show-deferred

index 376dff37aea5b71a27fd197c255f857bc868bc49..9cb093d01b77bf75ecaee1453c6e0b70642f40dc 100755 (executable)
@@ -121,7 +121,7 @@ def get_upload_data(changesfn):
     #print dir(achanges)
     #print achanges.keys()
     uploader = achanges.get('changed-by')
-    uploader = re.sub(r'\s+(\S.*)\s+<.*>',r'\1',uploader)
+    uploader = re.sub(r'^\s*(\S.*)\s+<.*>',r'\1',uploader)
     return (delaydays*24*60*60+remainingtime, changesname, delay, uploader, achanges.get('closes').split())
 
 def list_uploads(filelist):