projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51144e3
)
Convert RunCmd to an epydoc docstring
author
Guido Trotter
<ultrotter@google.com>
Wed, 13 Aug 2008 14:23:55 +0000
(14:23 +0000)
committer
Guido Trotter
<ultrotter@google.com>
Wed, 13 Aug 2008 14:23:55 +0000
(14:23 +0000)
Reviewed-by: imsnah
lib/utils.py
patch
|
blob
|
history
diff --git
a/lib/utils.py
b/lib/utils.py
index
479e267
..
54df210
100644
(file)
--- a/
lib/utils.py
+++ b/
lib/utils.py
@@
-108,10
+108,10
@@
def RunCmd(cmd):
The command should not read from its standard input, as it will be
closed.
- Args:
- cmd: command to run. (str)
-
- Returns: `RunResult` instance
+ @param cmd: Command to run
+ @type cmd: string or list
+ @return: `RunResult` instance
+ @rtype: RunResult
"""
if no_fork: