[Libguestfs] [libnbd PATCH 3/5] python: Simplify python generator