diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-09-06 10:38:55 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-09-06 10:38:55 -0500 |
commit | ba4f63898809aebbfcdeb1546ccd2b53c7f3f7c2 (patch) | |
tree | 39348beb4f6a366b6a4c91d9cb4dbc7101799814 /src/lib/Bcfg2/Server/Core.py | |
parent | d4931951305e93c976f139ef174adbe29b89ebcf (diff) | |
download | bcfg2-ba4f63898809aebbfcdeb1546ccd2b53c7f3f7c2.tar.gz bcfg2-ba4f63898809aebbfcdeb1546ccd2b53c7f3f7c2.tar.bz2 bcfg2-ba4f63898809aebbfcdeb1546ccd2b53c7f3f7c2.zip |
Pylint/PEP8 fixes
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/Server/Core.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Core.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Bcfg2/Server/Core.py b/src/lib/Bcfg2/Server/Core.py index 69d61580f..4eb151c29 100644 --- a/src/lib/Bcfg2/Server/Core.py +++ b/src/lib/Bcfg2/Server/Core.py @@ -1340,9 +1340,9 @@ class NetworkCore(Core): if self._database_available: db_settings = Bcfg2.settings.DATABASES['default'] if (Bcfg2.Options.setup.daemon and - Bcfg2.Options.setup.daemon_uid and - db_settings['ENGINE'].endswith(".sqlite3") and - not os.path.exists(db_settings['NAME'])): + Bcfg2.Options.setup.daemon_uid and + db_settings['ENGINE'].endswith(".sqlite3") and + not os.path.exists(db_settings['NAME'])): # syncdb will create the sqlite database, and we're # going to daemonize, dropping privs to a non-root # user, so we need to chown the database after |