From c74bee938897ed0d5a58257874ddc61047eff4c3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 5 Feb 2008 19:27:37 +0000 Subject: Remove all trailing blanks; turn on the rule to detect them. * Makefile.cfg (local-checks-to-skip): Remove sc_trailing_blank. * .x-sc_trailing_blank: New file, to exempt the few binary files. --- generator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'generator.py') diff --git a/generator.py b/generator.py index 30b03fd..da0d01f 100755 --- a/generator.py +++ b/generator.py @@ -186,8 +186,8 @@ class docParser: str = str + c if self.in_function == 1: self.function_cond = str - - + + def function(name, desc, ret, args, file, cond): functions[name] = (desc, ret, args, file, cond) @@ -750,7 +750,7 @@ def buildWrappers(): if not classes_processed.has_key(tinfo[2]): classes_list.append(tinfo[2]) classes_processed[tinfo[2]] = () - + ctypes.append(type) ctypes_processed[type] = () @@ -776,7 +776,7 @@ def buildWrappers(): func = nameFixup(name, "None", file, file) info = (0, func, name, ret, args, file) function_classes['None'].append(info) - + classes = open("libvirtclass.py", "w") txt = open("libvirtclass.txt", "w") -- cgit v1.2.1