/[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 3396 by ovitters, Sun Mar 11 13:15:23 2012 UTC revision 3397 by ovitters, Mon Mar 12 00:11:47 2012 UTC
# Line 634  def cmd_parse_ftp_release_list(options, Line 634  def cmd_parse_ftp_release_list(options,
634              lastline = contents.read().splitlines()[-1]              lastline = contents.read().splitlines()[-1]
635              # Remove things like "ERROR: " and so on from the last line              # Remove things like "ERROR: " and so on from the last line
636              lastline = re.sub(r'^(?:[^ :]+:\s+)+', '', lastline)              lastline = re.sub(r'^(?:[^ :]+:\s+)+', '', lastline)
637              subjecterrror = " (ERROR: %s)" % lastline if lastline else " (ERROR)"              subjecterror = " (ERROR: %s)" % lastline if lastline else " (ERROR)"
638          else:          else:
639              subjecterror = ""              subjecterror = ""
640          msg['Subject'] = "Re: %s%s" (orig_msg['Subject'], subjecterror)          msg['Subject'] = "Re: %s%s" % (orig_msg['Subject'], subjecterror)
641          msg['To'] = to          msg['To'] = to
642          msg["In-Reply-To"] = orig_msg["Message-ID"]          msg["In-Reply-To"] = orig_msg["Message-ID"]
643          msg["References"] = orig_msg["Message-ID"]          msg["References"] = orig_msg["Message-ID"]

Legend:
Removed from v.3396  
changed lines
  Added in v.3397

  ViewVC Help
Powered by ViewVC 1.1.30