]> xenbits.xensource.com Git - libvirt.git/commitdiff
python: Add a newline after custom classes
authorCole Robinson <crobinso@redhat.com>
Fri, 2 Oct 2009 17:05:03 +0000 (13:05 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 5 Oct 2009 17:31:38 +0000 (13:31 -0400)
In the generated bindings, custom classes are squashed against the following
class, which hurts readability.

python/generator.py

index 17eaf1a479a281f90084357dedd26f40da9f6469..21b413772bc1eac2eb725670f4affcfc073a89ee 100755 (executable)
@@ -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