tools/python/xs: fix two comments
PATCH 1/1 tools/python/xs: fix two comments
These two functions require transaction handle as the first argument.
Reported-by Sergei Lebedev <[email protected]>
Signed-off-by Wei Liu <[email protected]>
---
Cc: Sergei Lebedev <[email protected]>
Cc: Ian Jackson <[email protected]>
Compile test only
--- tools/python/xen/lowlevel/xs/xs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
tools/python/xen/lowlevel/xs/xs.c +4 -2
@@ -191,7 +191,8 @@ static PyObject *xspy_ls(XsHandle *self, PyObject *args)#define xspy_mkdir_doc "\n" \ "Make a directory.\n" \ - " path [string]: path to directory to create.\n" \ + " transaction [string]: transaction handle.\n" \ + " path [string] : path to directory to create.\n" \ "\n" \ "Returns None on success.\n" \ "Raises xen.lowlevel.xs.Error on error.\n" \
@@ -555,7 +556,8 @@ static PyObject *xspy_transaction_start(XsHandle *self)#define xspy_transaction_end_doc "\n" \ "End the current transaction.\n" \ "Attempts to commit the transaction unless abort is true.\n" \ - " abort [int]: abort flag (default 0).\n" \ + " transaction [string] : transaction handle.\n" \ + " abort [int] : abort flag (default 0).\n" \ "\n" \ "Returns True on success, False if you need to try again.\n" \ "Raises xen.lowlevel.xs.Error on error.\n" \
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Ian Jackson
AppliedWei Liu writes ("[PATCH] tools/python/xs: fix two comments"):
Quoted 4 lines
These two functions require transaction handle as the first argument.
Reported-by Sergei Lebedev <[email protected]>Signed-off-by Wei Liu <[email protected]>
queued, thanks
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel