From 6d71e8c166e12f1b9fd8fe4c0fef25c390e6ae59 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Thu, 23 Jul 2009 22:16:43 +0100 Subject: [PATCH] remove (pointless) old queue.Upload usage from add_user Signed-off-by: Mark Hymers --- dak/add_user.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dak/add_user.py b/dak/add_user.py index 0e69b7a7..56513220 100755 --- a/dak/add_user.py +++ b/dak/add_user.py @@ -26,7 +26,6 @@ import os import apt_pkg from daklib import daklog -from daklib import queue from daklib import utils from daklib.dbconn import DBConn, add_database_user, get_or_set_uid from daklib.regexes import re_gpg_fingerprint, re_user_address, re_user_mails, re_user_name @@ -229,8 +228,7 @@ def main(): # Should we send mail to the newly added user? if Cnf.FindB("Add-User::SendEmail"): mail = name + "<" + emails[0] +">" - Upload = queue.Upload(Cnf) - Subst = Upload.Subst + Subst = {} Subst["__NEW_MAINTAINER__"] = mail Subst["__UID__"] = uid Subst["__KEYID__"] = Cnf["Add-User::Options::Key"] -- 2.39.5