Comment 1 for bug 1065873

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

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