summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-04-08 16:14:22 -0400
committerLance Stout <lancestout@gmail.com>2011-04-08 16:14:22 -0400
commitd7ba7cc72a65d005ba3702b4254609f6da6a80ca (patch)
tree4390132b3d5bc586383b3998829765f3a56bc66e
parentd94811d81d68d948155d42ff9096c23ccb90a73c (diff)
downloadslixmpp-d7ba7cc72a65d005ba3702b4254609f6da6a80ca.tar.gz
slixmpp-d7ba7cc72a65d005ba3702b4254609f6da6a80ca.tar.bz2
slixmpp-d7ba7cc72a65d005ba3702b4254609f6da6a80ca.tar.xz
slixmpp-d7ba7cc72a65d005ba3702b4254609f6da6a80ca.zip
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.
-rw-r--r--sleekxmpp/stanza/iq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/stanza/iq.py b/sleekxmpp/stanza/iq.py
index 2bfbc7b1..82ab13ec 100644
--- a/sleekxmpp/stanza/iq.py
+++ b/sleekxmpp/stanza/iq.py
@@ -77,7 +77,7 @@ class Iq(RootStanza):
StanzaBase.__init__(self, *args, **kwargs)
if self['id'] == '':
if self.stream is not None:
- self['id'] = self.stream.getNewId()
+ self['id'] = self.stream.new_id()
else:
self['id'] = '0'