summaryrefslogtreecommitdiffstats
path: root/bindings/python/lang.py
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-09-12 15:06:58 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-09-12 15:06:58 +0000
commit9ed0670e48665f590eda685e0cfebf8c4cadb8fb (patch)
treea3f909876ca336256b304de9a350ab526d16abea /bindings/python/lang.py
parent73d9c98f92b9664c6d78843c4110b71520fa3f67 (diff)
downloadlasso-9ed0670e48665f590eda685e0cfebf8c4cadb8fb.tar.gz
lasso-9ed0670e48665f590eda685e0cfebf8c4cadb8fb.tar.xz
lasso-9ed0670e48665f590eda685e0cfebf8c4cadb8fb.zip
* Remove ending blanks
Diffstat (limited to 'bindings/python/lang.py')
-rw-r--r--bindings/python/lang.py8
1 files changed, 4 insertions, 4 deletions
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