From: Mike O'Connor Date: Sun, 25 Jan 2009 16:49:04 +0000 (-0500) Subject: git rid of useless email realeted imports. added docstring for module X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=2590489f707aae36c7d78058608abb25427a0b59;p=dak.git git rid of useless email realeted imports. added docstring for module Signed-off-by: Mike O'Connor --- diff --git a/dak/bts_categorize.py b/dak/bts_categorize.py index 1a4548e6..91121784 100755 --- a/dak/bts_categorize.py +++ b/dak/bts_categorize.py @@ -1,9 +1,11 @@ #!/usr/bin/python -# bts -- manage bugs filed against ftp.debian.org -# -# Copyright 2009 Mike O'Connor -# +""" +bts -- manage bugs filed against ftp.debian.org + +Copyright 2009 Mike O'Connor +""" + # 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 +125,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,