From 2a243cfbe1938d324ac6445aa2917ec3db0d8c50 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 13 Apr 2009 20:13:06 +0100 Subject: [PATCH] guestfs -> GuestFS --- python/guestfs.py | 2 +- python/t/010-launch.py | 2 +- python/t/050-lvcreate.py | 2 +- src/generator.ml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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"; -- 1.8.3.1