diff options
author | Vitalii Koriakov <vkoriako@redhat.com> | 2019-01-30 11:02:05 +0200 |
---|---|---|
committer | Vitalii Koriakov <vkoriako@redhat.com> | 2019-01-30 12:10:57 +0200 |
commit | cfb92a9a3473f2d163ec8f6453a55d32d113221e (patch) | |
tree | 7a63126ac866cad939d8ce2eccca33eb7c6d4d6a /glustolibs-io/shared_files/scripts/fd_writes.py | |
parent | cb063043605df1ab810d30ae1c273cdfe7150f3f (diff) |
Delete quorum method from old file. Added fixes for flake8
Change-Id: I2acf835a4cf7301c64c4c8a9423f78672cdf9aa4
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
Diffstat (limited to 'glustolibs-io/shared_files/scripts/fd_writes.py')
-rwxr-xr-x | glustolibs-io/shared_files/scripts/fd_writes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-io/shared_files/scripts/fd_writes.py b/glustolibs-io/shared_files/scripts/fd_writes.py index 0911c3f11..87358f45a 100755 --- a/glustolibs-io/shared_files/scripts/fd_writes.py +++ b/glustolibs-io/shared_files/scripts/fd_writes.py @@ -34,7 +34,7 @@ def is_root(path): Returns: True if path is '/' , False otherwise """ - if os.path.realpath(os.path.abspath(path)) is '/': + if os.path.realpath(os.path.abspath(path)) == '/': print ("Directory '%s' is the root of filesystem. " "Not performing any operations on the root of filesystem" % os.path.abspath(path)) |