mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-06-02 00:19:43 +02:00
fix flake8 issues
This commit is contained in:
parent
f23aa552c1
commit
d30ebe6598
|
@ -5,10 +5,10 @@ import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import anyconfig
|
import anyconfig
|
||||||
|
import environs
|
||||||
import jsonschema.exceptions
|
import jsonschema.exceptions
|
||||||
import yaml
|
import yaml
|
||||||
from appdirs import AppDirs
|
from appdirs import AppDirs
|
||||||
import environs
|
|
||||||
from jsonschema._utils import format_as_index
|
from jsonschema._utils import format_as_index
|
||||||
from pkg_resources import resource_filename
|
from pkg_resources import resource_filename
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ class Config():
|
||||||
if '"{}" not set'.format(envname) in str(e):
|
if '"{}" not set'.format(envname) in str(e):
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
raise ansibledoctor.Exception.ConfigError('Unable to read environment variable', str(e))
|
raise ansibledoctor.Exception.ConfigError("Unable to read environment variable", str(e))
|
||||||
|
|
||||||
return normalized
|
return normalized
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user