* [PATCH] tools/python/xs: fix two comments
@ 2016-02-29 16:01 Wei Liu
2016-03-01 18:01 ` Ian Jackson
0 siblings, 1 reply; 2+ messages in thread
From: Wei Liu @ 2016-02-29 16:01 UTC (permalink / raw)
To: Xen-devel; +Cc: Sergei Lebedev, Wei Liu, Ian Jackson
These two functions require transaction handle as the first argument.
Reported-by: Sergei Lebedev <sergei.a.lebedev@gmail.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
Cc: Sergei Lebedev <sergei.a.lebedev@gmail.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Compile test only
---
tools/python/xen/lowlevel/xs/xs.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/python/xen/lowlevel/xs/xs.c b/tools/python/xen/lowlevel/xs/xs.c
index 76ae3ac..a86edbe 100644
--- a/tools/python/xen/lowlevel/xs/xs.c
+++ b/tools/python/xen/lowlevel/xs/xs.c
@@ -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" \
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tools/python/xs: fix two comments
2016-02-29 16:01 [PATCH] tools/python/xs: fix two comments Wei Liu
@ 2016-03-01 18:01 ` Ian Jackson
0 siblings, 0 replies; 2+ messages in thread
From: Ian Jackson @ 2016-03-01 18:01 UTC (permalink / raw)
To: Wei Liu; +Cc: Xen-devel, Sergei Lebedev
Wei Liu writes ("[PATCH] tools/python/xs: fix two comments"):
> These two functions require transaction handle as the first argument.
>
> Reported-by: Sergei Lebedev <sergei.a.lebedev@gmail.com>
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>
queued, thanks
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-01 18:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-29 16:01 [PATCH] tools/python/xs: fix two comments Wei Liu
2016-03-01 18:01 ` Ian Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).