~ubuntu-branches/ubuntu/saucy/devscripts/saucy

« back to all changes in this revision

Viewing changes to scripts/bts.pl

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-11-24 15:54:50 UTC
  • mfrom: (10.7.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101124155450-05d2rz160qod25or
Tags: 2.10.69ubuntu1
* Merge with Debian; remaining changes:
  - see 2.10.68ubuntu1.
  - Default to "natty" as distribution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
# GNU General Public License for more details.
22
22
#
23
23
# You should have received a copy of the GNU General Public License
24
 
# along with this program; if not, write to the Free Software
25
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
24
# along with this program. If not, see <http://www.gnu.org/licenses/>.
26
25
 
27
26
=head1 NAME
28
27
 
2785
2784
sub mailto {
2786
2785
    my ($subject, $body, $to, $from) = @_;
2787
2786
 
2788
 
    if (defined $from) {
 
2787
    if (defined($from) || $noaction) {
2789
2788
        send_mail($from, $to, '', $subject, $body);
2790
2789
    }
2791
2790
    else {  # No $from