cleanups + indent errors

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-04-30 11:04:01 +02:00
commit 8a7c64f86a
2 changed files with 4 additions and 48 deletions

View file

@ -127,11 +127,11 @@ class ConfigInstall(object):
unfinished_object_names = []
for cdist_object in self.object_list():
if not cdist_object.state == cdist_object.STATE_DONE:
unfinished_object_names.append(cdist_object.name)
unfinished_object_names.append(cdist_object.name)
if unfinished_object_names:
raise cdist.Error("The following objects could not be resolved: %s" %
(" ".join(unfinished_object_names))
(" ".join(unfinished_object_names)))
######################################################################
# Stages based code