From 5b6ea1fe017bd60beabaef2b00c1851d0728b4d3 Mon Sep 17 00:00:00 2001 From: age Date: Sun, 28 Jan 2007 22:27:04 +0000 Subject: [PATCH] commented out one line, which causes a rare bug; but I don't really know if this isn't really needed --- plugins/volume_props/volume_props.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/volume_props/volume_props.py b/plugins/volume_props/volume_props.py index 5e36e5a..25384a6 100644 --- a/plugins/volume_props/volume_props.py +++ b/plugins/volume_props/volume_props.py @@ -74,7 +74,12 @@ class volume_props(cryptobox.plugins.base.CryptoBoxPlugin): """override the parent's function we have to get the data from all included plugins""" for plugin in self.props_plugins: - plugin.load_dataset(hdf) + ## TODO: this leads to strange behaviour if volume_props + ## is configured to show itself inside itself. + ## As volume_props works without this, I commented this + ## out. If it is really needed, there should be a check if + ## this plugin is trying to load the dataset of itself. + #plugin.load_dataset(hdf) ## call our parent's method cryptobox.plugins.base.CryptoBoxPlugin.load_dataset(self, hdf)