diff --git a/gestion/tools/apt-keys-crans.py b/gestion/tools/apt-keys-crans.py index fd94666c..b262b4d8 100755 --- a/gestion/tools/apt-keys-crans.py +++ b/gestion/tools/apt-keys-crans.py @@ -32,7 +32,7 @@ def write_keys(): pass path=basedir + '%s.asc/%s.asc' % (user['uid'][0],user['uid'][0]) # Est-ce que ça serait bien de mettre --export-options export-minimal ? - p = Popen(['gpg', '--armor', '--export', user['gpgFingerprint'][0].value], stdout=PIPE, stdin=PIPE, stderr=STDOUT) + p = Popen(['gpg', '--armor', '--export-options', 'export-minimal', '--export', user['gpgFingerprint'][0].value], stdout=PIPE, stdin=PIPE, stderr=STDOUT) ret=p.communicate() if ret[1]: print ret[1]