aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python
diff options
context:
space:
mode:
authorIan Jackson <Ian.Jackson@eu.citrix.com>2012-03-13 17:21:37 +0000
committerIan Jackson <Ian.Jackson@eu.citrix.com>2012-03-13 17:21:37 +0000
commit3dd4189e086382b6f5b027adadebdea34c985e8c (patch)
treeb6ea2f513ad3d2b8ad4e929aa3b1001db5b1aea2 /tools/python
parentc0bcb80839f9f2a1275277701ece61f61c6bf02d (diff)
downloadxen-3dd4189e086382b6f5b027adadebdea34c985e8c.tar.gz
xen-3dd4189e086382b6f5b027adadebdea34c985e8c.tar.bz2
xen-3dd4189e086382b6f5b027adadebdea34c985e8c.zip
tools/python: Fix indenting in 25030:6ced0ed954d6
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/python')
-rw-r--r--tools/python/xen/lowlevel/xl/xl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/xen/lowlevel/xl/xl.c b/tools/python/xen/lowlevel/xl/xl.c
index 8ca429a3c2..bbbf2a9cb6 100644
--- a/tools/python/xen/lowlevel/xl/xl.c
+++ b/tools/python/xen/lowlevel/xl/xl.c
@@ -408,8 +408,8 @@ static PyObject *pyxl_domid_to_name(XlObject *self, PyObject *args)
domname = libxl_domid_to_name(self->ctx, domid);
if (domname)
ret = PyString_FromString(domname);
- else
- Py_INCREF(Py_None);
+ else
+ Py_INCREF(Py_None);
free(domname);
return ret;