From acf94abe2639d3132489b7c52134f4ccc05be6bd Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Thu, 13 Oct 2016 21:24:29 +0200 Subject: [PATCH] pep8 --- cdist/install.py | 7 ++++--- scripts/cdist | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cdist/install.py b/cdist/install.py index 4530029a..bec8d24a 100644 --- a/cdist/install.py +++ b/cdist/install.py @@ -29,9 +29,10 @@ class Install(cdist.config.Config): """Short name for object list retrieval. In install mode, we only care about install objects. """ - for cdist_object in cdist.core.CdistObject.list_objects(self.local.object_path, - self.local.type_path): + for cdist_object in cdist.core.CdistObject.list_objects( + self.local.object_path, self.local.type_path): if cdist_object.cdist_type.is_install: yield cdist_object else: - self.log.debug("Running in install mode, ignoring non install object: {0}".format(cdist_object)) + self.log.debug("Running in install mode, ignoring non install" + "object: {0}".format(cdist_object)) diff --git a/scripts/cdist b/scripts/cdist index badf0f76..0acfe06c 100755 --- a/scripts/cdist +++ b/scripts/cdist @@ -164,7 +164,7 @@ def commandline(): # Install parser['install'] = parser['sub'].add_parser('install', add_help=False, - parents=[parser['config']]) + parents=[parser['config']]) parser['install'].set_defaults(func=cdist.install.Install.commandline) for p in parser: