-#!/usr/bin/python
+#!/usr/bin/python3
###############################################################################
# #
# collecty - A system statistics collection daemon for IPFire #
import dbus
import sys
-from constants import *
-from i18n import _
+from .constants import *
+from .i18n import _
import logging
log = logging.getLogger("collectly.client")
templates = self.list_templates()
for t in sorted(templates):
- print t
+ print(t)
def generate_graph(self, template_name, **kwargs):
byte_array = self.proxy.GenerateGraph(template_name, kwargs,