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

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



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

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


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