[thorstenp] self as first argument of method
This commit is contained in:
parent
1d94f0fbff
commit
70abf6a955
1 changed files with 9 additions and 9 deletions
|
@ -60,7 +60,7 @@ class Roster:
|
||||||
txt = contact[8]
|
txt = contact[8]
|
||||||
|
|
||||||
self._data[jid]={}
|
self._data[jid]={}
|
||||||
self._data[jid]['ask'] = 'no' #?
|
self._data[jid]['ask'] = 'none'
|
||||||
self._data[jid]['subscription'] = 'both'
|
self._data[jid]['subscription'] = 'both'
|
||||||
self._data[jid]['groups'] = []
|
self._data[jid]['groups'] = []
|
||||||
self._data[jid]['resources'] = {}
|
self._data[jid]['resources'] = {}
|
||||||
|
@ -138,7 +138,7 @@ class Roster:
|
||||||
#print 'roster_zeroconf.py: getShow'
|
#print 'roster_zeroconf.py: getShow'
|
||||||
return self.getStatus(jid)
|
return self.getStatus(jid)
|
||||||
|
|
||||||
def getPriority(jid):
|
def getPriority(self, jid):
|
||||||
return 5
|
return 5
|
||||||
|
|
||||||
def getSubscription(self, jid):
|
def getSubscription(self, jid):
|
||||||
|
|
Loading…
Add table
Reference in a new issue