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-Tag: debian-r/squeeze~1348^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2590489f707aae36c7d78058608abb25427a0b59;hp=b07b1b8a998812133d4ef5348da78a5f4b3b239f;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,