Remove some unused code
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Dec 2015 23:44:50 +0000 (00:44 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Dec 2015 23:44:50 +0000 (00:44 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/collecty/plugins/base.py

index c1666b6..547d027 100644 (file)
@@ -631,14 +631,6 @@ class GraphTemplate(object):
 
                return self._object_table
 
-       def get_object_files(self):
-               files = {}
-
-               for id, obj in self.object_table.items():
-                       files[id] = obj.file
-
-               return files
-
        def generate_graph(self, interval=None, **kwargs):
                # Make sure that all collected data is in the database
                # to get a recent graph image
@@ -649,8 +641,6 @@ class GraphTemplate(object):
 
                self.log.info(_("Generating graph %s") % self)
 
-               #object_files = self.get_object_files()
-
                if self.object:
                        args += self.object.make_rrd_defs()