[node-patches] Change in ovirt-node[master]: fix bad indentation in fips_enabled
mburns at redhat.com
mburns at redhat.com
Fri Apr 12 13:27:10 UTC 2013
Michael Burns has uploaded a new change for review.
Change subject: fix bad indentation in fips_enabled
......................................................................
fix bad indentation in fips_enabled
missing indent
Change-Id: Iff797a0a7bb288302eab3dba2b06f8ece62649ba
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M scripts/ovirtnode/ovirtfunctions.py
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/41/13841/1
diff --git a/scripts/ovirtnode/ovirtfunctions.py b/scripts/ovirtnode/ovirtfunctions.py
index 04a3570..bfde2c0 100644
--- a/scripts/ovirtnode/ovirtfunctions.py
+++ b/scripts/ovirtnode/ovirtfunctions.py
@@ -338,9 +338,9 @@
def is_fips_enabled():
fips_path = "/proc/sys/crypto/fips_enabled"
if os.path.exists(fips_path):
- with open(fips_path) as fips_enabled:
- if str(fips_enabled) == "1":
- return True
+ with open(fips_path) as fips_enabled:
+ if str(fips_enabled) == "1":
+ return True
return False
def is_stateless():
--
To view, visit http://gerrit.ovirt.org/13841
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff797a0a7bb288302eab3dba2b06f8ece62649ba
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <mburns at redhat.com>
More information about the node-patches
mailing list