[libvirt] [PATCHv2 8/8] python: Add a newline after custom classes
Daniel P. Berrange
berrange at redhat.com
Mon Oct 5 12:40:53 UTC 2009
On Fri, Oct 02, 2009 at 01:46:53PM -0400, Cole Robinson wrote:
> In the generated bindings, custom classes are squashed against the following
> class, which hurts readability.
>
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
> python/generator.py | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/python/generator.py b/python/generator.py
> index 17eaf1a..21b4137 100755
> --- a/python/generator.py
> +++ b/python/generator.py
> @@ -1337,6 +1337,7 @@ def buildWrappers():
> classes.write (" # %s methods from %s.py (hand coded)\n" % (classname,classname))
> classes.write (" #\n")
> classes.writelines(extra.readlines())
> + classes.write("\n")
> extra.close()
> except:
> pass
ACK
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list