import libguestfsmod
-class guestfs:
+class GuestFS:
def __init__ (self):
self._o = libguestfsmod.create ()
import os
import guestfs
-g = guestfs.guestfs()
+g = guestfs.GuestFS()
f = open ("test.img", "w")
f.truncate (500 * 1024 * 1024)
f.close ()
import os
import guestfs
-g = guestfs.guestfs()
+g = guestfs.GuestFS()
f = open ("test.img", "w")
f.truncate (500 * 1024 * 1024)
f.close ()
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";