The following commit has been merged in the master branch:
commit c8cb8309b879c309818e6ce17977fbb3ed494d1a
Author: James Vega <[email protected]>
Date:   Thu Oct 21 07:35:53 2010 -0400

    bts: Don't send an empty email when --no-action is given.
    
    Closes: #600822
    Signed-off-by: James Vega <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index a1a2ea2..1563c55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ devscripts (2.10.69) UNRELEASED; urgency=low
     pages.  (Closes: #597782)
   * Include command list in localized devscripts.1.  (Closes: #597906)
   * Fix a couple markup issues in source files for generated man pages.
+  * bts: Don't send an empty email when --no-action is given.  (Closes:
+    #600822)
 
   [ David Prévot ]
   * Update French translation.  (Closes: #599234, #600033)
diff --git a/scripts/bts.pl b/scripts/bts.pl
index a189396..8af020e 100755
--- a/scripts/bts.pl
+++ b/scripts/bts.pl
@@ -2784,7 +2784,7 @@ sub extractemail() {
 sub mailto {
     my ($subject, $body, $to, $from) = @_;
 
-    if (defined $from) {
+    if (defined($from) || $noaction) {
        send_mail($from, $to, '', $subject, $body);
     }
     else {  # No $from

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to