mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-30 09:24:34 +02:00
PEP 8 clean thanks to auto pep8
This commit is contained in:
1 parent
7f185663d1
commit
f5ed9fbcf1
124 files changed
+340
-210
No files matched your search
@@ -30,6 +30,7 @@ CLOUD_SERVER = 'CLOUD_SERVER'
|
||||
|
||||
|
||||
class Config(object):
|
||||
|
||||
"""
|
||||
Configuration file management using configparser.
|
||||
"""
|
||||
@@ -117,7 +118,7 @@ class Config(object):
|
||||
:returns: configparser section
|
||||
"""
|
||||
|
||||
if not section in self._config:
|
||||
if section is not in self._config:
|
||||
return self._config["DEFAULT"]
|
||||
return self._config[section]
|
||||
|
||||
|
||||
Reference in new issue
Block a user