From f08ac264a09ae7bfef13b32bd5966985969a8af4 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Thu, 7 Sep 2017 16:37:49 +0200 Subject: [PATCH] pep8 --- cdist/argparse.py | 3 ++- cdist/core/manifest.py | 3 ++- cdist/test/configuration/__init__.py | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cdist/argparse.py b/cdist/argparse.py index 391541b0..1b655ebf 100644 --- a/cdist/argparse.py +++ b/cdist/argparse.py @@ -418,7 +418,8 @@ def parse_and_configure(argv, singleton=True): parser = get_parsers() parser_args = parser['main'].parse_args(argv) try: - cfg = cdist.configuration.Configuration(parser_args, singleton=singleton) + cfg = cdist.configuration.Configuration(parser_args, + singleton=singleton) args = cfg.get_args() except ValueError as e: raise cdist.Error(str(e)) diff --git a/cdist/core/manifest.py b/cdist/core/manifest.py index b7538887..98a44629 100644 --- a/cdist/core/manifest.py +++ b/cdist/core/manifest.py @@ -114,7 +114,8 @@ class Manifest(object): } self.env.update( - {'__cdist_loglevel': logging.getLevelName(self.log.getEffectiveLevel())}) + {'__cdist_loglevel': logging.getLevelName( + self.log.getEffectiveLevel())}) def _open_logger(self): self.log = logging.getLogger(self.target_host[0]) diff --git a/cdist/test/configuration/__init__.py b/cdist/test/configuration/__init__.py index 0e324e0b..3630fb95 100644 --- a/cdist/test/configuration/__init__.py +++ b/cdist/test/configuration/__init__.py @@ -378,7 +378,8 @@ class ConfigurationTestCase(test.CdistTestCase): # bypass singleton so we can test further cc.Configuration.instance = None - configuration = cc.Configuration(args, env=env, config_files=('cdist.cfg')) + configuration = cc.Configuration(args, env=env, + config_files=('cdist.cfg')) self.assertIsNotNone(configuration.args) self.assertIsNotNone(configuration.env) self.assertIsNotNone(configuration.config_files)