Je sais pas faire un commit

This reverts commit 688ac1d129.
This commit is contained in:
Vincent Le Gallic 2014-03-03 23:48:16 +01:00
parent 688ac1d129
commit 9c6da2330d
3 changed files with 7 additions and 7 deletions

View file

@ -25,12 +25,12 @@ Recuperation des secrets depuis /etc/crans/secrets.
import sys
import os
from syslog import syslog, openlog, closelog
from syslog import syslog, openlog
import getpass
def get(secret):
""" Recupere un secret. """
#openlog('secrets_new')
openlog('secrets_new')
prog = os.path.basename(getattr(sys, 'argv', ['undefined'])[0])
syslog('%s (in %s) asked for %s' % (getpass.getuser(), prog, secret))
try: