/[soft]/mga-gnome/trunk/mga-gnome
ViewVC logotype

Diff of /mga-gnome/trunk/mga-gnome

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3569 by ovitters, Mon Mar 19 14:48:42 2012 UTC revision 3570 by ovitters, Mon Mar 19 15:49:20 2012 UTC
# Line 700  def cmd_parse_ftp_release_list(options, Line 700  def cmd_parse_ftp_release_list(options,
700              lastline = contents.read().rstrip().splitlines()[-1]              lastline = contents.read().rstrip().splitlines()[-1]
701              # Remove things like "ERROR: " and so on from the last line              # Remove things like "ERROR: " and so on from the last line
702              lastline = re.sub(r'^(?:[^ :]+:\s+)+', '', lastline)              lastline = re.sub(r'^(?:[^ :]+:\s+)+', '', lastline)
703                # Remove things like "   - " (youri output from mgarepo submit)
704                lastline = re.sub(r'^\s+-\s+', '', lastline)
705              subjecterror = " (ERROR: %s)" % lastline if lastline else " (ERROR)"              subjecterror = " (ERROR: %s)" % lastline if lastline else " (ERROR)"
706          else:          else:
707              subjecterror = ""              subjecterror = ""

Legend:
Removed from v.3569  
changed lines
  Added in v.3570

  ViewVC Help
Powered by ViewVC 1.1.30