summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2015-04-10 11:01:46 -0500
committerTony Asleson <tasleson@redhat.com>2015-04-10 11:01:46 -0500
commit0523c718446a13472d9bec8bce61e7ec020d0179 (patch)
tree879ed25abfb3c541f59e0c6286414977ee596876
parentf29df9acfe430093c07cff06aa302e5e70c07965 (diff)
downloadlvm2-0523c718446a13472d9bec8bce61e7ec020d0179.tar.gz
python: Fix ws liblvm.c
Signed-off-by: Tony Asleson <tasleson@redhat.com>
-rw-r--r--python/liblvm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/liblvm.c b/python/liblvm.c
index 74d65ead5..1c9b5c4ed 100644
--- a/python/liblvm.c
+++ b/python/liblvm.c
@@ -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;