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:
Lance Stout 2011-04-08 16:14:22 -04:00
parent d94811d81d
commit d7ba7cc72a

View file

@ -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'