master - python: Fix ws liblvm.c
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
Signed-off-by Tony Asleson <[email protected]>
--- python/liblvm.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
python/liblvm.c +5 -5
@@ -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;