diff src/bridge/bridge_constructor/dbus_frontend_template.py @ 587:952322b1d490

Remove trailing whitespaces.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 18 Jan 2013 17:55:34 +0100
parents ca13633d3b6b
children 1f160467f5de
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/dbus_frontend_template.py	Fri Jan 18 17:55:27 2013 +0100
+++ b/src/bridge/bridge_constructor/dbus_frontend_template.py	Fri Jan 18 17:55:34 2013 +0100
@@ -73,7 +73,7 @@
                 #   - or if the last two arguments are callable
 
                 async = False
-                
+
                 if kwargs:
                     if 'callback' in kwargs and 'errback' in kwargs:
                         async = True
@@ -84,26 +84,26 @@
                     args = list(args)
                     _errback = args.pop()
                     _callback = args.pop()
-                        
+
                 method = getattr(self.db_plugin_iface, name)
-                
+
                 if async:
                     kwargs['reply_handler'] = _callback
                     kwargs['error_handler'] = lambda err:_errback(err._dbus_error_name[len(const_ERROR_PREFIX)+1:])
 
                 return method(*args, **kwargs)
-                
+
             return getPluginMethod
 
 ##METHODS_PART##
 
 #methods from plugins
-    
+
     def joinMUC(self, room_jid, nick, options, profile_key):
         if options == None:
             options = [('', '')] #XXX: we have to do this awful hack because python dbus need to guess the signature
         return self.db_plugin_iface.joinMUC(room_jid, nick, options, profile_key)
-    
+
     def gatewayRegister(self, action, target, data, profile_key):
         if data == None:
             data = [('', '')] #XXX: we have to do this awful hack because python dbus need to guess the signature