Commit 3f159322 authored by grisel-davy's avatar grisel-davy

ajout de l'option force

parent 9a4b0d5e
......@@ -12,6 +12,8 @@ import json
from subprocess import call
import os.path
import sys
config = ConfigParser()
config.read('config.ini')
......@@ -23,6 +25,9 @@ api_client = Re2oAPIClient(api_hostname, api_username, api_password)
client_hostname = socket.gethostname().split('.', 1)[0]
for arg in sys.argv:
if arg=="--force":
generate(api_client)
def generate(api_client):
all_users = api_client.list("localemail/users")
......
Markdown is supported
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