Whitespace does not not weigh anything - remove - sed -i 's/ *$//g' *py */*py
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
7160637014
commit
7bb81e2f18
9 changed files with 15 additions and 15 deletions
|
|
@ -34,7 +34,7 @@ from cdist import core
|
|||
class ConfigInstall(object):
|
||||
"""Cdist main class to hold arbitrary data"""
|
||||
|
||||
def __init__(self, context):
|
||||
def __init__(self, context):
|
||||
|
||||
self.context = context
|
||||
self.log = logging.getLogger(self.context.target_host)
|
||||
|
|
@ -70,7 +70,7 @@ class ConfigInstall(object):
|
|||
start_time = time.time()
|
||||
self.deploy_to()
|
||||
self.cleanup()
|
||||
self.log.info("Finished run in %s seconds",
|
||||
self.log.info("Finished run in %s seconds",
|
||||
time.time() - start_time)
|
||||
|
||||
def stage_prepare(self):
|
||||
|
|
@ -135,7 +135,7 @@ class ConfigInstall(object):
|
|||
cdist_object.ran = True
|
||||
|
||||
cdist_type = cdist_object.type
|
||||
|
||||
|
||||
for requirement in cdist_object.requirements:
|
||||
self.log.debug("Object %s requires %s", cdist_object, requirement)
|
||||
# FIXME: requirement is a string, need to create object here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue