diff options
author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2021-11-24 01:31:00 +0200 |
---|---|---|
committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2021-11-24 01:57:39 +0200 |
commit | 79ae7112547e6b386fe27f5fc57e02b4220d6872 (patch) | |
tree | f018d3a70ac90db11adcce73f0b53c85740ff209 /src/saml2/population.py | |
parent | 72e69e43f555e3f37e8a21a89ac1f34402700a31 (diff) | |
download | pysaml2-79ae7112547e6b386fe27f5fc57e02b4220d6872.tar.gz |
Linter fixes
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Diffstat (limited to 'src/saml2/population.py')
-rw-r--r-- | src/saml2/population.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/saml2/population.py b/src/saml2/population.py index 7b3ffd39..37b36352 100644 --- a/src/saml2/population.py +++ b/src/saml2/population.py @@ -35,8 +35,9 @@ class Population(object): :param sources: Sources for information about the subject :return: """ - if not sources: # assume that all the members has be asked - # once before, hence they are represented in the cache + if not sources: + # assume that all the members has be asked + # once before, hence they are represented in the cache sources = self.cache.entities(name_id) sources = [m for m in sources if not self.cache.active(name_id, m)] return sources |