Author: ptw
Date: 2007-06-15 12:34:04 -0700 (Fri, 15 Jun 2007)
New Revision: 5430
Modified:
tools/trunk/svn/review-mail.pl
Log:
Change 20070614-ptw-g by [EMAIL PROTECTED] on 2007-06-14 16:16:34 EDT
in /Users/ptw/OpenLaszlo/tools/trunk/svn
for http://svn.openlaszlo.org/tools/trunk/svn
Summary: Process reviewer emails correctly
Technical Reviewer: ben (pending)
QA Reviewer: jgrandy (pending)
Details:
Save capture before further matches, check for empty emails
Tests:
IWFM
Modified: tools/trunk/svn/review-mail.pl
===================================================================
--- tools/trunk/svn/review-mail.pl 2007-06-15 17:07:14 UTC (rev 5429)
+++ tools/trunk/svn/review-mail.pl 2007-06-15 19:34:04 UTC (rev 5430)
@@ -28,12 +28,13 @@
$summary = $1;
}
if (/Reviewer:\s*(\S+?)\s/) {
- if ($1 !~ m#n/a#) {
+ $email = $1;
+ if ($1 && $1 !~ m#n/a# && $1 !~ /(pending)/) {
if ($to) { $to .= ','; }
- if ($1 !~ /@/) {
- $to .= $1 . '@' . $default_domain;
+ if ($email !~ /@/) {
+ $to .= $email . '@' . $default_domain;
} else {
- $to .= $1;
+ $to .= $email;
}
}
}
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins