diff options
| author | Richard Jones <rjones@redhat.com> | 2009-04-13 20:13:06 +0100 |
|---|---|---|
| committer | Richard Jones <rjones@redhat.com> | 2009-04-13 20:13:06 +0100 |
| commit | 2a243cfbe1938d324ac6445aa2917ec3db0d8c50 (patch) | |
| tree | 35b53a7c21e3796fca6d65d193bed5ae715291bc | |
| parent | 55e302bb1002e236afc9b2d33aa47128b8542133 (diff) | |
| download | libguestfs-0.9.tar.gz libguestfs-0.9.tar.xz libguestfs-0.9.zip | |
guestfs -> GuestFS0.9
| -rw-r--r-- | python/guestfs.py | 2 | ||||
| -rw-r--r-- | python/t/010-launch.py | 2 | ||||
| -rw-r--r-- | python/t/050-lvcreate.py | 2 | ||||
| -rwxr-xr-x | src/generator.ml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/python/guestfs.py b/python/guestfs.py index fc57d8de..864b3619 100644 --- a/python/guestfs.py +++ b/python/guestfs.py @@ -20,7 +20,7 @@ import libguestfsmod -class guestfs: +class GuestFS: def __init__ (self): self._o = libguestfsmod.create () diff --git a/python/t/010-launch.py b/python/t/010-launch.py index 1cba3221..c1316d29 100644 --- a/python/t/010-launch.py +++ b/python/t/010-launch.py @@ -18,7 +18,7 @@ import os import guestfs -g = guestfs.guestfs() +g = guestfs.GuestFS() f = open ("test.img", "w") f.truncate (500 * 1024 * 1024) f.close () diff --git a/python/t/050-lvcreate.py b/python/t/050-lvcreate.py index 444cee90..8503023f 100644 --- a/python/t/050-lvcreate.py +++ b/python/t/050-lvcreate.py @@ -18,7 +18,7 @@ import os import guestfs -g = guestfs.guestfs() +g = guestfs.GuestFS() f = open ("test.img", "w") f.truncate (500 * 1024 * 1024) f.close () diff --git a/src/generator.ml b/src/generator.ml index 06a95a9d..84ee90ff 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -3948,7 +3948,7 @@ and generate_python_py () = pr "import libguestfsmod\n"; pr "\n"; - pr "class guestfs:\n"; + pr "class GuestFS:\n"; pr " def __init__ (self):\n"; pr " self._o = libguestfsmod.create ()\n"; pr "\n"; |
