Commit 1c001ba4 authored by Daniel Stan's avatar Daniel Stan

roles modif + argparse

parent 22a59154
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
"""cranspasswords-server.py: Serveur pour cranspasswords""" """cranspasswords-server.py: Serveur pour cranspasswords"""
MYDIR = '/home/dstan/crans/cranspasswords/' MYDIR = '/home/dstan/cranspasswords/'
STORE = '/home/dstan/crans/passwords/v2/' STORE = MYDIR+'test/'
import glob import glob
import os import os
...@@ -31,7 +31,7 @@ KEYS = { ...@@ -31,7 +31,7 @@ KEYS = {
"becue": ("becue@crans.org", "194974E2"), "becue": ("becue@crans.org", "194974E2"),
"dstan": ("daniel.stan@crans.org", "6E1C820B"), "dstan": ("daniel.stan@crans.org", "6E1C820B"),
"cauderlier": ("cauderlier@crans.org",None), #Méchant pas beau "cauderlier": ("cauderlier@crans.org",None), #Méchant pas beau
"maioli": ("maioli@crans.org","9E5026E8") "maioli": ("maioli@crans.org",None) #Bis (maybe 9E5026E8)
} }
RTC=[ RTC=[
...@@ -54,15 +54,8 @@ NOUNOUS=RTC+[ ...@@ -54,15 +54,8 @@ NOUNOUS=RTC+[
] ]
ROLES = { ROLES = {
"bureau": [ "bureau": [],
"aza-vallina", "ca": [],
],
"ca": [
"aza-vallina",
"blockelet",
"durand-gasselin",
"lagorce",
],
"rtc": RTC, "rtc": RTC,
"nounous": NOUNOUS, "nounous": NOUNOUS,
"nounous-w": NOUNOUS #Or maybe RTC ? "nounous-w": NOUNOUS #Or maybe RTC ?
......
This diff is collapsed.
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