aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-04-26 17:25:29 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-04-26 17:25:29 +0100
commit972bf4954f3cdabc563c1af37a8c72d7078d80af (patch)
tree13ca24d271a2a89aa7ffa689b47b201f94146573
parent56106cf824b241920027991c1c0d6acf1efbacd2 (diff)
downloadsos-972bf4954f3cdabc563c1af37a8c72d7078d80af.tar.gz
Fix indentation in nfsserver.py
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/nfsserver.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/sos/plugins/nfsserver.py b/sos/plugins/nfsserver.py
index 4e87452d..d7464e08 100644
--- a/sos/plugins/nfsserver.py
+++ b/sos/plugins/nfsserver.py
@@ -25,16 +25,16 @@ class NfsServer(Plugin, RedHatPlugin):
plugin_name = 'nfsserver'
def check_enabled(self):
- if self.policy().default_runlevel() in self.policy().runlevel_by_service("nfs"):
- return True
+ if self.policy().default_runlevel() in self.policy().runlevel_by_service("nfs"):
+ return True
- try:
- if os.stat("/etc/exports")[ST_SIZE] > 0 or os.stat("/var/lib/nfs/xtab")[ST_SIZE] > 0:
- return True
- except:
- pass
+ try:
+ if os.stat("/etc/exports")[ST_SIZE] > 0 or os.stat("/var/lib/nfs/xtab")[ST_SIZE] > 0:
+ return True
+ except:
+ pass
- return False
+ return False
def setup(self):
self.add_copy_specs([