X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fbts_categorize.py;h=fd9cd090653b640890f31964b57171dc505de16e;hb=c6afcd6e86b80cc2a489872790d4a59007038e41;hp=1a4548e67c07d2766bcc7dfa60b6d0b68c629e36;hpb=b07b1b8a998812133d4ef5348da78a5f4b3b239f;p=dak.git diff --git a/dak/bts_categorize.py b/dak/bts_categorize.py index 1a4548e6..fd9cd090 100755 --- a/dak/bts_categorize.py +++ b/dak/bts_categorize.py @@ -1,9 +1,13 @@ #!/usr/bin/python -# bts -- manage bugs filed against ftp.debian.org -# -# Copyright 2009 Mike O'Connor -# +""" +bts -- manage bugs filed against ftp.debian.org + +@contact: Debian FTP Master +@copyright: 2009 Mike O'Connor +@license: GNU General Public License version 2 or later +""" + # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2, or (at your option) any @@ -123,10 +127,7 @@ class BugClassifier(object): return controls -import smtplib -import email.Message - -def send_email(commands, simulate): +def send_email(commands, simulate=False): global Cnf Subst = {'__COMMANDS__' : commands,