6 output
= fd
.readlines()
8 return [x
.strip() for x
in output
]
11 rc
= os
.system("%s > /dev/null 2>&1" % cmd
)
18 raise yap
.ShellError(cmd
, rc
)
20 def takes_options(options
):
22 func
.options
= options
26 def short_help(help_msg
):
28 func
.short_help
= help_msg
32 def long_help(help_msg
):
34 func
.long_help
= help_msg