[macro] Traduction + obvious unicode-fail

This commit is contained in:
Vincent Le Gallic 2014-03-03 23:43:50 +01:00
parent a4d264ebaf
commit 688ac1d129
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
from syslog import syslog, openlog, closelog
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: