diff options
author | NavaL <ayoyo@thoughtworks.com> | 2016-12-05 18:03:24 +0100 |
---|---|---|
committer | Thais Siqueira <thais.siqueira@gmail.com> | 2017-01-02 14:29:45 -0200 |
commit | 15794e7e624a22e87ca75a28804f97930e06a855 (patch) | |
tree | 79ab66e7c54da4c044c993e7dda91ab1ee33e522 /service/pixelated/bitmask_libraries | |
parent | d731d03e277b10f689dc2402d59b80952eb3d2c4 (diff) |
[#851] minor refactoring, and using the right keymanager branch
Diffstat (limited to 'service/pixelated/bitmask_libraries')
-rw-r--r-- | service/pixelated/bitmask_libraries/keymanager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/bitmask_libraries/keymanager.py b/service/pixelated/bitmask_libraries/keymanager.py index 3a6f54c9..6024dd71 100644 --- a/service/pixelated/bitmask_libraries/keymanager.py +++ b/service/pixelated/bitmask_libraries/keymanager.py @@ -49,7 +49,7 @@ class Keymanager(object): current_key = yield self._key_exists(self._email) if not current_key: yield self._generate_key_and_send_to_leap() - elif current_key.should_be_renewed(DEFAULT_EXTENSION_THRESHOLD): + elif current_key.needs_renewal(DEFAULT_EXTENSION_THRESHOLD): yield self._regenerate_key() yield self._send_key_to_leap() |