Daemon handling cleanup.

More cleanly handling whether a PID file should be checked.
Fatal Error on PID file IOError.
Pylint fix to bootstrap.
This commit is contained in:
Ryan Kraus
2015-09-01 02:37:52 -04:00
parent 1add38a195
commit 5b06e8d25e
2 changed files with 14 additions and 13 deletions

View File

@@ -149,7 +149,7 @@ def mount_local_lib_path(config_dir):
sys.path.insert(0, os.path.join(config_dir, 'lib'))
# pylint: disable=too-many-branches, too-many-statements
# pylint: disable=too-many-branches, too-many-statements, too-many-arguments
def from_config_dict(config, hass=None, config_dir=None, enable_log=True,
verbose=False, daemon=False):
"""