diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-05-08 10:25:02 -0400 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-05-08 10:25:02 -0400 |
commit | 63acf78a4961f78034baf88e9ea8fed83f459bd1 (patch) | |
tree | 3a69f42ef9fb41242621845dabe686d7a0203ed7 /pykolab/cli/cmd_remove_mailaddress.py | |
parent | e0326b2e0d7b9fb88592baf7dc1991bd4d35a0e6 (diff) | |
download | pykolab-63acf78a4961f78034baf88e9ea8fed83f459bd1.tar.gz |
Remove the imports of legacy auth and imap
Diffstat (limited to 'pykolab/cli/cmd_remove_mailaddress.py')
-rw-r--r-- | pykolab/cli/cmd_remove_mailaddress.py | 5 |
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) |