summaryrefslogtreecommitdiffstats
path: root/pykolab/cli/cmd_remove_mailaddress.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/cli/cmd_remove_mailaddress.py')
-rw-r--r--pykolab/cli/cmd_remove_mailaddress.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/pykolab/cli/cmd_remove_mailaddress.py b/pykolab/cli/cmd_remove_mailaddress.py
index 6a4daea..d6eb43b 100644
--- a/pykolab/cli/cmd_remove_mailaddress.py
+++ b/pykolab/cli/cmd_remove_mailaddress.py
@@ -26,9 +26,6 @@ from pykolab.translate import _
log = pykolab.getLogger('pykolab.cli')
conf = pykolab.getConf()
-auth = pykolab.auth
-imap = pykolab.imap
-
def __init__():
commands.register('remove_mail', execute, description=description())
@@ -56,4 +53,4 @@ def execute(*args, **kw):
if not address == email_address:
_user_addresses.append(address)
- auth.set_user_attribute('klab.cc', user, 'mailAlternateAddress', _user_addresses) \ No newline at end of file
+ auth.set_user_attribute('klab.cc', user, 'mailAlternateAddress', _user_addresses)