better error message

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-04-30 15:07:59 +02:00
parent 85d24ce259
commit 2dac681f25
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class ConfigInstall(object):
autorequire = ", ".join(autorequire_names) autorequire = ", ".join(autorequire_names)
info_string.append("%s requires: %s autorequires: %s" % (cdist_object.name, requirements, autorequire)) info_string.append("%s requires: %s autorequires: %s" % (cdist_object.name, requirements, autorequire))
raise cdist.Error("The following objects could not be resolved: %s" % raise cdist.Error("The requirements of the following objects could not be resolved: %s" %
("; ".join(info_string))) ("; ".join(info_string)))
###################################################################### ######################################################################