[thorstenp] self as first argument of method

This commit is contained in:
Yann Leboulanger 2008-12-03 21:12:32 +00:00
parent 1d94f0fbff
commit 70abf6a955

View file

@ -60,7 +60,7 @@ class Roster:
txt = contact[8]
self._data[jid]={}
self._data[jid]['ask'] = 'no' #?
self._data[jid]['ask'] = 'none'
self._data[jid]['subscription'] = 'both'
self._data[jid]['groups'] = []
self._data[jid]['resources'] = {}
@ -138,7 +138,7 @@ class Roster:
#print 'roster_zeroconf.py: getShow'
return self.getStatus(jid)
def getPriority(jid):
def getPriority(self, jid):
return 5
def getSubscription(self, jid):