diff options
author | Jim Meyering <meyering@redhat.com> | 2008-02-05 19:27:37 +0000 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-02-05 19:27:37 +0000 |
commit | c74bee938897ed0d5a58257874ddc61047eff4c3 (patch) | |
tree | bb0c914000104e7e776d2462bde5ae92e3cd1c7c /generator.py | |
parent | 955f993c96d161b7fd535696bf07ee55358a3661 (diff) | |
download | libvirt-python-v6-c74bee938897ed0d5a58257874ddc61047eff4c3.tar.gz libvirt-python-v6-c74bee938897ed0d5a58257874ddc61047eff4c3.tar.xz libvirt-python-v6-c74bee938897ed0d5a58257874ddc61047eff4c3.zip |
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.
Diffstat (limited to 'generator.py')
-rwxr-xr-x | generator.py | 8 |
1 files changed, 4 insertions, 4 deletions
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") |