summaryrefslogtreecommitdiffstats
path: root/pykolab/cli/cmd_remove_mailaddress.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-09 12:00:00 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-09 12:00:00 +0100
commitb2b60e26d5915cf50160f8044a4f27c7f77e6470 (patch)
tree58d87228efccb9cec3f1eeea3d8673b4abd8d05f /pykolab/cli/cmd_remove_mailaddress.py
parent3d94ae66d7d8eca5e516c45d59d878d214843f7e (diff)
parent63acf78a4961f78034baf88e9ea8fed83f459bd1 (diff)
downloadpykolab-b2b60e26d5915cf50160f8044a4f27c7f77e6470.tar.gz
Merge branch 'master' of ssh://git.kolabsys.com/git/pykolab
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)