diff src/plugins/plugin_xep_0060.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 beaf6bec2fcd
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0060.py	Fri Jan 18 17:55:27 2013 +0100
+++ b/src/plugins/plugin_xep_0060.py	Fri Jan 18 17:55:34 2013 +0100
@@ -92,7 +92,7 @@
 
     def publish(self, service, nodeIdentifier, items=None, profile_key='@DEFAULT@'):
         profile,client = self.__getClientNProfile(profile_key, 'publish item')
-        return client.publish(service, nodeIdentifier, items, client.parent.jid) 
+        return client.publish(service, nodeIdentifier, items, client.parent.jid)
 
     def getItems(self, service, node, max_items=None, sub_id=None, profile_key='@DEFAULT@'):
         profile,client = self.__getClientNProfile(profile_key, 'get items')
@@ -105,7 +105,7 @@
     def setOptions(self, service, nodeIdentifier, subscriber, options, subscriptionIdentifier=None, profile_key='@DEFAULT@'):
         profile,client = self.__getClientNProfile(profile_key, 'set options')
         return client.setOptions(service, nodeIdentifier, subscriber, options, subscriptionIdentifier)
-    
+
     def createNode(self, service, nodeIdentifier, options, profile_key='@DEFAULT@'):
         profile,client = self.__getClientNProfile(profile_key, 'create node')
         return client.createNode(service, nodeIdentifier, options)
@@ -113,12 +113,12 @@
     def deleteNode(self, service, nodeIdentifier, profile_key='@DEFAULT@'):
         profile,client = self.__getClientNProfile(profile_key, 'delete node')
         return client.deleteNode(service, nodeIdentifier)
-    
+
     def subscribe(self, service, nodeIdentifier, sub_jid = None, options=None, profile_key='@DEFAULT@'):
         profile,client = self.__getClientNProfile(profile_key, 'subscribe node')
-        return client.subscribe(service, nodeIdentifier, sub_jid or client.parent.jid.userhostJID(), options=options) 
+        return client.subscribe(service, nodeIdentifier, sub_jid or client.parent.jid.userhostJID(), options=options)
 
-        
+
 class SatPubSubClient(pubsub.PubSubClient):
     implements(disco.IDisco)
 
@@ -129,7 +129,7 @@
 
     def connectionInitialized(self):
         pubsub.PubSubClient.connectionInitialized(self)
-    
+
     def itemsReceived(self, event):
         if not self.host.trigger.point("PubSubItemsReceived", event, self.parent.profile):
             return
@@ -149,7 +149,7 @@
         _disco_info = []
         self.host.trigger.point("PubSub Disco Info", _disco_info, self.parent.profile)
         return _disco_info
-    
+
     def getDiscoItems(self, requestor, target, nodeIdentifier=''):
         return []