summaryrefslogtreecommitdiffstats
path: root/pykolab/cli
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/cli')
-rw-r--r--pykolab/cli/cmd_remove_user_subscription.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pykolab/cli/cmd_remove_user_subscription.py b/pykolab/cli/cmd_remove_user_subscription.py
index 17ff818..a09bb31 100644
--- a/pykolab/cli/cmd_remove_user_subscription.py
+++ b/pykolab/cli/cmd_remove_user_subscription.py
@@ -74,7 +74,7 @@ def execute(*args, **kw):
sys.exit(1)
_folders = imap.lm(folder_pattern)
- _subscribed_folders = imap.lsub(folder_pattern)
+ _subscribed_folders = imap.lsub()
unsubscribed_folders = []
for _folder in _folders:
@@ -89,8 +89,8 @@ def execute(*args, **kw):
print "\n".join(unsubscribed_folders)
else:
- print >> sys.stderr, _("User %s not be unsubscribed from any folders.") % (
+ print >> sys.stderr, _("User %s was not unsubscribed from any folders.") % (
user
)
- sys.exit(1) \ No newline at end of file
+ sys.exit(1)