--- mga-gnome/trunk/mga-gnome 2012/03/19 14:48:42 3569 +++ mga-gnome/trunk/mga-gnome 2012/03/19 15:49:20 3570 @@ -700,6 +700,8 @@ lastline = contents.read().rstrip().splitlines()[-1] # Remove things like "ERROR: " and so on from the last line lastline = re.sub(r'^(?:[^ :]+:\s+)+', '', lastline) + # Remove things like " - " (youri output from mgarepo submit) + lastline = re.sub(r'^\s+-\s+', '', lastline) subjecterror = " (ERROR: %s)" % lastline if lastline else " (ERROR)" else: subjecterror = ""