Age | Commit message (Collapse) | Author |
|
|
|
|
|
_delSub can now accept a path and will optionally remove any empty parent elements after deleting the target elements.
|
|
|
|
_setSubText can now handle elements specified by an XPath expression, and
will build up the element tree as needed, reusing an existing elements in
the path.
|
|
Also added ElementBase._fix_ns() to apply the stanza namespace to elements that don't have a namespace.
|
|
|
|
jid attributes will return '' if not set
|
|
|
|
|
|
tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
methods to use it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
before closing it.
Updated tests for Iq stanzas to not start a stream for every test; tests now run a lot faster.
The call to streamClose must still be in the tearDown method to ensure it is called in the
case of an error.
|
|
|
|
|
|
Now uses the xmlns and stream parameters to reduce the number of
extra xmlns attributes used in the logging output.
Added self.default_ns to XMLStream just to be safe.
|
|
|
|
|
|
The sleekxmpp.xmlstream.tostring and sleekxmpp.xmlstream.tostring26 packages
have been merged to sleekxmpp.xmlstream.tostring. The __init__.py file will
import the appropriate tostring function depending on the Python version.
The setup.py file has been updated with the package changes.
ElementBase is now a direct descendent of object and does not subclass ToString.
Stanza objects now return their XML contents for __repr__.
|
|
Fixed some tabs/spaces issues.
|
|
Python version.
The package sleekxmpp.xmlstream.tostring26 remains for now until stanzabase is updated, but is no longer needed.
|
|
style.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|