summaryrefslogtreecommitdiff
path: root/src/saml2/entity.py
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2020-04-21 20:46:03 +0300
committerIvan Kanakarakis <ivan.kanak@gmail.com>2020-05-12 13:43:30 +0300
commit832d26f26b4e7d0eb91689a5214119ccc610193f (patch)
tree2ae0d6b81c86d54fbd447a0a6e6a0b81bcac1e12 /src/saml2/entity.py
parent24d248cf29597264ec9db0b118946395c399c650 (diff)
downloadpysaml2-832d26f26b4e7d0eb91689a5214119ccc610193f.tar.gz
Remove logger configuration
``` ************* Module saml2.config src/saml2/config.py:464:23: E1135: Value '_logconf' doesn't support membership test (unsupported-membership-test) src/saml2/config.py:466:27: E1136: Value '_logconf' is unsubscriptable (unsubscriptable-object) src/saml2/config.py:481:50: E1136: Value '_logconf' is unsubscriptable (unsubscriptable-object) src/saml2/config.py:486:22: E1120: No value for argument 'filename' in constructor call (no-value-for-parameter) src/saml2/config.py:488:23: E1135: Value '_logconf' doesn't support membership test (unsupported-membership-test) src/saml2/config.py:489:42: E1136: Value '_logconf' is unsubscriptable (unsubscriptable-object) src/saml2/config.py:505:43: E1136: Value '_logconf' is unsubscriptable (unsubscriptable-object) src/saml2/config.py:552:19: E1136: Value 'self.virtual_organization' is unsubscriptable (unsubscriptable-object) ``` this seems right; the operations upon the Logger object do not make sense. There is no need to "fix" this, we just remove the relevant code. We should come back to this and refactor how the logger is configured for the library. Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Diffstat (limited to 'src/saml2/entity.py')
-rw-r--r--src/saml2/entity.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/saml2/entity.py b/src/saml2/entity.py
index 2ab1995b..b7fe5c30 100644
--- a/src/saml2/entity.py
+++ b/src/saml2/entity.py
@@ -159,7 +159,6 @@ class Entity(HTTPBase):
vo.sp = self
self.metadata = self.config.metadata
- self.config.setup_logger()
self.debug = self.config.debug
self.sec = security_context(self.config)