17 lines
389 B
Python
17 lines
389 B
Python
# -*- mode: python; coding: utf-8 -*-
|
|
#
|
|
# Recuperation des mots de passe
|
|
|
|
import sys
|
|
if '/usr/scripts' not in sys.path:
|
|
sys.path.append("/usr/scripts")
|
|
from gestion import secrets_new
|
|
|
|
class DummySecrets(object):
|
|
def __getattribute__(self, k):
|
|
## TODO: traceback pour savoir qui s'en sert
|
|
return secrets_new.get(k)
|
|
|
|
secrets = DummySecrets()
|
|
|
|
info['perms'] &= ~0077
|