summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/bonafide/_protocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/bonafide/_protocol.py')
-rw-r--r--src/leap/bitmask/bonafide/_protocol.py10
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(