diff --git a/src/hostinfo/util.py b/src/hostinfo/util.py index 19f1048b621353137a1dac1884f80e98272ea6d3..3edec2f4428dd5cee31d482f5f91cd4e0d524358 100755 --- a/src/hostinfo/util.py +++ b/src/hostinfo/util.py @@ -17,7 +17,7 @@ def fqn(tree, host): if (s.network[0] and aton(host.ip[0:]) & aton(s.netmask[0]) == aton(s.network[0])): return "%s.%s." % (host.name[1:],s.domain[0]) - raise Exception("No subnet declaration for %s (%s)" % + raise Exception("No subnet declaration for '%s' (%s)" % (host.name[0:], host.ip[0:])) else: raise Exception("'%s' not FQN, but has no ip" % host.name[0:])