X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=blobdiff_plain;f=ticket.py;h=a52be173be217c32f74c5fd54d055ec50faf30dd;hp=1904b81cc109361355cf788ea57c86ed02810a1c;hb=HEAD;hpb=fa29e713dc640e0370446efa9fda7cb3174cec06 diff --git a/ticket.py b/ticket.py index 1904b81..a52be17 100644 --- a/ticket.py +++ b/ticket.py @@ -7,7 +7,9 @@ You must already have the key in the keyring. from subprocess import PIPE, Popen from xmlrpc.client import dumps, loads -GPG = '/usr/bin/gpg' +# see also myplc/plc.d/gpg +import os.path +GPG = '/usr/bin/gpg1' if os.path.exists("/usr/bin/gpg1") else "/usr/bin/gpg" def _popen_gpg(*args): """Return a Popen object to GPG."""