diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2017-05-16 13:03:19 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-05-16 19:32:24 +0200 |
commit | 0e97513603246d770dafb38e57ac6f15b589984b (patch) | |
tree | 6da8b956107c44637182e79596168fb432855fb3 /src/leap/bitmask/bonafide/_protocol.py | |
parent | b667facfe3c36e44396193a12748aaa9efbd718b (diff) |
[refactor] cleanup
Diffstat (limited to 'src/leap/bitmask/bonafide/_protocol.py')
-rw-r--r-- | src/leap/bitmask/bonafide/_protocol.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/leap/bitmask/bonafide/_protocol.py b/src/leap/bitmask/bonafide/_protocol.py index 674634d..0de5b7c 100644 --- a/src/leap/bitmask/bonafide/_protocol.py +++ b/src/leap/bitmask/bonafide/_protocol.py @@ -35,10 +35,6 @@ from twisted.internet.defer import fail from twisted.logger import Logger -# TODO [ ] enable-disable services -# TODO [ ] read provider info - - COMMANDS = 'signup', 'authenticate', 'logout', 'stats' _preffix = get_path_prefix() @@ -207,12 +203,6 @@ class BonafideProtocol(object): # FIXME to be implemented pass - def do_stats(self): - self.log.debug('Calculating Bonafide Service STATS') - mem = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss - return {'sessions': len(self._sessions), - 'mem': '%s KB' % (mem / 1024)} - def _get_provider_ca_path(provider_id): return os.path.join( |