aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2015-08-04 10:44:37 +0200
committerPavel Moravec <pmoravec@redhat.com>2015-08-04 10:44:37 +0200
commit1f83971325629cb3f470dac74de1be49f095118e (patch)
tree9e74a3c96c8d41b4449e8152a2c3f14780862d2e
parent10059897ceb0755bab844011f11ea6c6af8794ae (diff)
downloadsos-1f83971325629cb3f470dac74de1be49f095118e.tar.gz
[sapnw] call self methods properly
Call methods from the self class within "self." scope. Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/sapnw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/sapnw.py b/sos/plugins/sapnw.py
index d2c93ec1..be8c4b95 100644
--- a/sos/plugins/sapnw.py
+++ b/sos/plugins/sapnw.py
@@ -137,8 +137,8 @@ class sapnw(Plugin, RedHatPlugin):
self.add_copy_spec("/sybase/%s/ASE*/%s.cfg" % (sid, sid))
def setup(self):
- collect_list_instances()
- collect_list_dbs()
+ self.collect_list_instances()
+ self.collect_list_dbs()
# run sapconf in check mode
self.add_cmd_output("sapconf -n",