From cd6e853a5f7c6faa26822fb7669d16ce57997744 Mon Sep 17 00:00:00 2001 From: Zandrr Date: Sat, 27 Jun 2015 07:21:59 +0000 Subject: changed unmount to umount Change-Id: Iced9bb59a33c38964e012f9d6c9ef13efc1f184c --- gluster/gfapi.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gluster') diff --git a/gluster/gfapi.py b/gluster/gfapi.py index bd6f240..9b0d9a8 100755 --- a/gluster/gfapi.py +++ b/gluster/gfapi.py @@ -453,7 +453,7 @@ class Volume(object): else: self._mounted = True - def unmount(self): + def umount(self): """ Unmount a mounted GlusterFS volume. @@ -465,13 +465,13 @@ class Volume(object): if ret < 0: raise LibgfapiException("glfs_fini(%s) failed." % (self.fs)) else: - # Succeeded. Protect against multiple unmount() calls. + # Succeeded. Protect against multiple umount() calls. self._mounted = False self.fs = None def __del__(self): try: - self.unmount() + self.umount() except LibgfapiException: pass -- cgit