diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/tests/krb5/kdc_base_test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/samba/tests/krb5/kdc_base_test.py b/python/samba/tests/krb5/kdc_base_test.py index 74e6dfb406a..229ec7d8143 100644 --- a/python/samba/tests/krb5/kdc_base_test.py +++ b/python/samba/tests/krb5/kdc_base_test.py @@ -1677,9 +1677,8 @@ class KDCBaseTest(RawKerberosTest): **opts } - cache_key = tuple(sorted(account_opts.items())) - if use_cache: + cache_key = tuple(sorted(account_opts.items())) creds = self.account_cache.get(cache_key) if creds is not None: return creds |