summaryrefslogtreecommitdiffstats
path: root/python/guestfs.py
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-14 13:51:12 +0100
committerRichard Jones <rjones@redhat.com>2009-04-14 13:51:12 +0100
commit5365ebd501850ea10d9a5b28fc6480ea34dbe16d (patch)
tree3c3bedf7581ea8485db6f039f2633ee07361b031 /python/guestfs.py
parent161018ed1e90c796e6e099859979da02d5f3e410 (diff)
downloadlibguestfs-5365ebd501850ea10d9a5b28fc6480ea34dbe16d.tar.gz
libguestfs-5365ebd501850ea10d9a5b28fc6480ea34dbe16d.tar.xz
libguestfs-5365ebd501850ea10d9a5b28fc6480ea34dbe16d.zip
Add 'command' and 'command-lines'. Fix args freeing in Perl bindings.
Diffstat (limited to 'python/guestfs.py')
-rw-r--r--python/guestfs.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/guestfs.py b/python/guestfs.py
index d4cd46d9..6cf7e19e 100644
--- a/python/guestfs.py
+++ b/python/guestfs.py
@@ -210,3 +210,9 @@ class GuestFS:
def file (self, path):
return libguestfsmod.file (self._o, path)
+ def command (self, arguments):
+ return libguestfsmod.command (self._o, arguments)
+
+ def command_lines (self, arguments):
+ return libguestfsmod.command_lines (self._o, arguments)
+