remove some old typos and omit type details that follow anyway
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
ce73cef457
commit
ac0c88fe9f
1 changed files with 2 additions and 2 deletions
|
@ -192,10 +192,10 @@ class Emulator(object):
|
||||||
try:
|
try:
|
||||||
cdist_object = self.cdist_object.object_from_name(requirement)
|
cdist_object = self.cdist_object.object_from_name(requirement)
|
||||||
except core.cdist_type.NoSuchTypeError as e:
|
except core.cdist_type.NoSuchTypeError as e:
|
||||||
self.log.error("%s requires object %s, but type %s does not exist (definded at %s)" % (self.cdist_object.name, requirement, e.name, self.object_source))
|
self.log.error("%s requires object %s, but type %s does not exist. Defined at %s" % (self.cdist_object.name, requirement, e.name, self.object_source))
|
||||||
raise
|
raise
|
||||||
except core.cdist_object.MissingObjectIdError as e:
|
except core.cdist_object.MissingObjectIdError as e:
|
||||||
self.log.error("%s requires object %s (without object id), but type %s is not a singleton (definded at %s)" % (self.cdist_object.name, requirement, e.type_name, self.object_source))
|
self.log.error("%s requires object %s without object id. Defined at %s" % (self.cdist_object.name, requirement, self.object_source))
|
||||||
raise
|
raise
|
||||||
|
|
||||||
self.log.debug("Recording requirement: " + requirement)
|
self.log.debug("Recording requirement: " + requirement)
|
||||||
|
|
Loading…
Reference in a new issue