mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-30 11:09:56 +00:00
Use underscore method name.
Since camelcase names are aliased to the underscored name at startup, if the underscored version is replaced later, the camelCase name does not reflect the change.
This commit is contained in:
parent
d94811d81d
commit
d7ba7cc72a
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class Iq(RootStanza):
|
||||||
StanzaBase.__init__(self, *args, **kwargs)
|
StanzaBase.__init__(self, *args, **kwargs)
|
||||||
if self['id'] == '':
|
if self['id'] == '':
|
||||||
if self.stream is not None:
|
if self.stream is not None:
|
||||||
self['id'] = self.stream.getNewId()
|
self['id'] = self.stream.new_id()
|
||||||
else:
|
else:
|
||||||
self['id'] = '0'
|
self['id'] = '0'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue