summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2009-10-02 13:05:03 -0400
committerCole Robinson <crobinso@redhat.com>2009-10-05 13:31:38 -0400
commitbf95ba10437730b9f86f67e892d0d5d0ff804436 (patch)
treefb760c44157a842a8f93ae96e18a150af9c375f4
parent3b8720b5d8c73a7f753543eeee89bafa890efe4a (diff)
downloadlibvirt-python-split-bf95ba10437730b9f86f67e892d0d5d0ff804436.tar.gz
libvirt-python-split-bf95ba10437730b9f86f67e892d0d5d0ff804436.tar.xz
libvirt-python-split-bf95ba10437730b9f86f67e892d0d5d0ff804436.zip
python: Add a newline after custom classesv0.7.2
In the generated bindings, custom classes are squashed against the following class, which hurts readability.
-rwxr-xr-xgenerator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index 17eaf1a..21b4137 100755
--- a/generator.py
+++ b/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