From 2590489f707aae36c7d78058608abb25427a0b59 Mon Sep 17 00:00:00 2001 From: Mike O'Connor Date: Sun, 25 Jan 2009 11:49:04 -0500 Subject: [PATCH] git rid of useless email realeted imports. added docstring for module Signed-off-by: Mike O'Connor --- dak/bts_categorize.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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, -- 2.39.5