Revision b705c7a6 lib/cli.py

b/lib/cli.py
1648 1648
  elif isinstance(err, errors.HooksFailure):
1649 1649
    obuf.write("Failure: hooks general failure: %s" % msg)
1650 1650
  elif isinstance(err, errors.ResolverError):
1651
    this_host = netutils.HostInfo.SysName()
1651
    this_host = netutils.Hostname.GetSysName()
1652 1652
    if err.args[0] == this_host:
1653 1653
      msg = "Failure: can't resolve my own hostname ('%s')"
1654 1654
    else:

Also available in: Unified diff