[libvirt] [PATCHv2 8/8] python: Add a newline after custom classes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In the generated bindings, custom classes are squashed against the following
class, which hurts readability.

Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>
---
 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
-- 
1.6.5.rc2

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]