From: Cole Robinson Date: Fri, 2 Oct 2009 17:05:03 +0000 (-0400) Subject: python: Add a newline after custom classes X-Git-Tag: v0.7.2~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee8240b295c17812b53a76c03fed781e308ce0ae;p=thirdparty%2Flibvirt.git python: Add a newline after custom classes In the generated bindings, custom classes are squashed against the following class, which hurts readability. --- diff --git a/python/generator.py b/python/generator.py index 17eaf1a479..21b413772b 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