Skip to contentSkip to conversation

master - python: Fix ws liblvm.c

PATCH tasleson 1 participant 1 message Apr 10, 2015

lore
Share & tools
lore

tasleson

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0523c718446a13472d9bec8bce61e7ec020d0179
Commit:        0523c718446a13472d9bec8bce61e7ec020d0179
Parent:        f29df9acfe430093c07cff06aa302e5e70c07965
Author:        Tony Asleson <[email protected]>
AuthorDate:    Fri Apr 10 11:01:46 2015 -0500
Committer:     Tony Asleson <[email protected]>
CommitterDate: Fri Apr 10 11:01:46 2015 -0500

python: Fix ws liblvm.c

---
 python/liblvm.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
python/liblvm.c +5 -5
index 74d65ea..1c9b5c4 100644
@@ -1445,9 +1445,9 @@ static PyObject *_liblvm_lvm_lv_add_tag(lvobject *self, PyObject *args)
 		return NULL;
 
 	if (lvm_lv_add_tag(self->lv, tag) == -1)
-        goto error;
+		goto error;
 
-    if (lvm_vg_write(self->parent_vgobj->vg) == -1)
+	if (lvm_vg_write(self->parent_vgobj->vg) == -1)
 		goto error;
 
 	Py_INCREF(Py_None);
@@ -1468,10 +1468,10 @@ static PyObject *_liblvm_lvm_lv_remove_tag(lvobject *self, PyObject *args)
 		return NULL;
 
 	if (lvm_lv_remove_tag(self->lv, tag) == -1)
-        goto error;
+		goto error;
 
-    if (lvm_vg_write(self->parent_vgobj->vg) == -1)
-        goto error;
+	if (lvm_vg_write(self->parent_vgobj->vg) == -1)
+		goto error;
 
 	Py_INCREF(Py_None);
 	return Py_None;