summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2020-05-12 12:07:24 +0300
committerIvan Kanakarakis <ivan.kanak@gmail.com>2020-05-12 13:43:31 +0300
commitfa22fde7dd83ef8c118d3230094d68e282e916cf (patch)
tree7370b95358ab6294c1af68422dae3e26e54f4f0e
parent6d36d2ddd3d05ed51b0eff1a171ef2af0c8567f2 (diff)
downloadpysaml2-fa22fde7dd83ef8c118d3230094d68e282e916cf.tar.gz
Remove assignment for function with no return
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
-rw-r--r--src/saml2/mongo_store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/mongo_store.py b/src/saml2/mongo_store.py
index 0cc33619..7df1b565 100644
--- a/src/saml2/mongo_store.py
+++ b/src/saml2/mongo_store.py
@@ -321,7 +321,7 @@ class EptidMDB(Eptid):
raise CorruptDatabase("Found more than one EPTID document")
def __setitem__(self, key, value):
- _ = self.mdb.store(key, **{"eptid": value})
+ self.mdb.store(key, **{"eptid": value})
#------------------------------------------------------------------------------