The error handling code is indeed broken, parser is not defined in this scope
in runner/adt-run:
if opts.gnupghome.startswith('~/'):
try: home = os.environ['HOME']
except KeyError:
parser.error("HOME environment variable"
" not set, needed for --gnupghome=`%s"
% opts.gnupghome)
Well the result would be the same if $HOME is not defined but at least it would fail nicely
Thanks for your report.
The error handling code is indeed broken, parser is not defined in this scope startswith( '~/'): error(" HOME environment variable"
in runner/adt-run:
if opts.gnupghome.
try: home = os.environ['HOME']
except KeyError:
parser.
" not set, needed for --gnupghome=`%s"
% opts.gnupghome)
Well the result would be the same if $HOME is not defined but at least it would fail nicely