Skip to content

Commit fd6c1e9

Browse files
committed
Fix pylint errors
1 parent aa1b889 commit fd6c1e9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pyms/flask/healthcheck/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
from pyms.flask.healthcheck.healthcheck import healthcheck_blueprint
2-
3-
__all__ = ['healthcheck_blueprint']

pyms/flask/services/driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def __init__(self, service, *args, **kwargs):
1616

1717
def __getattr__(self, attr, *args, **kwargs):
1818
config_attribute = getattr(self.config, attr)
19-
return config_attribute if config_attribute is "" or config_attribute != {} else self.default_values.get(attr,
19+
return config_attribute if config_attribute == "" or config_attribute != {} else self.default_values.get(attr,
2020
None)
2121

2222

0 commit comments

Comments
 (0)