From c8b213231a609c181fcc733fe066d1eba2d9bf09 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 24 Aug 2014 01:05:14 +0200 Subject: removed useless comment --- src/daq/flumotion-plug/sfive.py | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/daq/flumotion-plug/sfive.py') diff --git a/src/daq/flumotion-plug/sfive.py b/src/daq/flumotion-plug/sfive.py index 231081b..5e79b64 100644 --- a/src/daq/flumotion-plug/sfive.py +++ b/src/daq/flumotion-plug/sfive.py @@ -148,20 +148,6 @@ class ComponentSFivePlug(base.ComponentPlug): bytes_sent_diff = bytes_sent - self._old_bytes_sent if self._old_bytes_sent > 0 else 0; self._old_bytes_sent = bytes_sent - # TODO: create json and send it out - # { - # "start-time": "2014-08-03Z12:34:56.123", - # "duration-ms": 5000, - # "data": { - # "clients": [ - # { "ip": "127.0.0.1:2345", "bytes-transferred": 12094, "user-agent": "Mozilla Version 28", .... }, - # ..... - # ], - # "client-count": 12, - # "bytes-received": 12345, - # "bytes-sent": 921734098, - # .... - # } data = { "start-time": datetime.datetime.utcnow().isoformat('Z'), "duration-ms": self._duration * 1000, "client-count": client_count, -- cgit v1.2.3