From 9ed0670e48665f590eda685e0cfebf8c4cadb8fb Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 12 Sep 2008 15:06:58 +0000 Subject: * Remove ending blanks --- bindings/python/lang.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bindings/python/lang.py') diff --git a/bindings/python/lang.py b/bindings/python/lang.py index 26d86d53..8fdd4385 100644 --- a/bindings/python/lang.py +++ b/bindings/python/lang.py @@ -1,5 +1,5 @@ # Lasso - A free implementation of the Liberty Alliance specifications. -# +# # Copyright (C) 2004-2007 Entr'ouvert # http://lasso.entrouvert.org # @@ -33,7 +33,7 @@ class Binding: def is_pygobject(self, t): if t: m = re.match(r'(?:const\s*)?(.*)',t) # Remove const modifier - t = m.group(1) + t = m.group(1) return t not in ['char*', 'gchar*', 'GList*', 'GHashTable*', 'int', 'gint', 'gboolean', 'xmlNode*'] + self.binding_data.enums @@ -106,7 +106,7 @@ class frozendict(dict): print >> fd, '''\ class Error(Exception): code = None - + @staticmethod def raise_on_rc(rc): global exceptions_dict @@ -270,7 +270,7 @@ if WSF_SUPPORT: c_args.append('%s._cptr' % arg_name) else: c_args.append(arg_name) - + c_args = ', '.join(c_args) py_args = ', ' + ', '.join(py_args) print >> fd, ' def __init__(self%s):' % py_args -- cgit