Commit e0c8d8f1 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Undo last commit

parent b4efae1e
......@@ -44,6 +44,7 @@ class EmailList(managementagent.RabbitModule):
def _process_members_operations(self, members_operations):
zmprov = subprocess.Popen(EmailList.ZIMBRA_ZMPROV, shell=False, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
zmprov_lines = list()
for operation in members_operations:
op = ""
if operation['operation'] == 'add':
......@@ -55,7 +56,7 @@ class EmailList(managementagent.RabbitModule):
continue
list_name = operation['name']
zmprov_lines = list()
for member in operation['entries']:
zmprov_lines.append(op + " " + list_name + " " + member + "\n")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment