Début de restructuration

This commit is contained in:
Daniel STAN 2012-11-23 03:38:59 +01:00
parent bfb5dbb98d
commit d994ae836f
8 changed files with 95 additions and 91 deletions

View file

@ -10,7 +10,7 @@ import os
import atexit
import argparse
import re
import config
import clientconfig as config
## Password pattern in files:
PASS = re.compile('[\t ]*pass(?:word)?[\t ]*:[\t ]*(.*)\r?\n?$', \
@ -222,7 +222,7 @@ def show_files():
os.waitpid(proc.pid,0)
def show_roles():
print """Liste des roles disponibles"""
print """Liste des roles disponibles"""
for role in all_roles().keys():
if role.endswith('-w'): continue
print " * " + role