From: Richard Jones Date: Mon, 13 Apr 2009 19:13:06 +0000 (+0100) Subject: guestfs -> GuestFS X-Git-Tag: 0.9^0 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=2a243cfbe1938d324ac6445aa2917ec3db0d8c50;p=libguestfs.git guestfs -> GuestFS --- diff --git a/python/guestfs.py b/python/guestfs.py index fc57d8d..864b361 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 1cba322..c1316d2 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 444cee9..8503023 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 06a95a9..84ee90f 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";