forked from ungleich-public/cdist
minimal beaufity
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
dcd3bcee32
commit
eadb62e67a
2 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
- cleanup object_id handling
|
||||
- have a look at singletons
|
||||
- double check verification
|
||||
- cleanup emulator to create object
|
||||
- adjust tests
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
|
@ -151,9 +151,9 @@ class Emulator(object):
|
|||
self.log.debug("reqs = " + requirements)
|
||||
for requirement in requirements.split(" "):
|
||||
# Ignore empty fields - probably the only field anyway
|
||||
if len(requirement) == 0:
|
||||
continue
|
||||
if len(requirement) == 0: continue
|
||||
|
||||
# Raises an error, if object cannot be created
|
||||
self.cdist_object.object_from_name(requirement)
|
||||
self.log.debug("Recording requirement: " + requirement)
|
||||
self.cdist_object.requirements.append(requirement)
|
||||
|
|
Loading…
Reference in a new issue