More PEP8 compliance cleanups.
Cleaned up the atom entry stanza.
This commit is contained in:
@@ -14,6 +14,6 @@ from sleekxmpp.xmlstream.tostring import tostring
|
||||
from sleekxmpp.xmlstream.xmlstream import XMLStream, RESPONSE_TIMEOUT
|
||||
from sleekxmpp.xmlstream.xmlstream import RestartStream
|
||||
|
||||
__all__ = ['JID', 'Scheduler', 'StanzaBase', 'ElementBase',
|
||||
'ET', 'StateMachine', 'tostring', 'XMLStream',
|
||||
__all__ = ['JID', 'Scheduler', 'StanzaBase', 'ElementBase',
|
||||
'ET', 'StateMachine', 'tostring', 'XMLStream',
|
||||
'RESPONSE_TIMEOUT', 'RestartStream']
|
||||
|
||||
@@ -12,5 +12,5 @@ from sleekxmpp.xmlstream.matcher.stanzapath import StanzaPath
|
||||
from sleekxmpp.xmlstream.matcher.xmlmask import MatchXMLMask
|
||||
from sleekxmpp.xmlstream.matcher.xpath import MatchXPath
|
||||
|
||||
__all__ = ['MatcherId', 'MatchMany', 'StanzaPath',
|
||||
__all__ = ['MatcherId', 'MatchMany', 'StanzaPath',
|
||||
'MatchXMLMask', 'MatchXPath']
|
||||
|
||||
@@ -588,7 +588,6 @@ class ElementBase(object):
|
||||
if isinstance(xpath, str):
|
||||
xpath = self._fix_ns(xpath, split=True, propagate_ns=False)
|
||||
|
||||
|
||||
# Extract the tag name and attribute checks for the first XPath node.
|
||||
components = xpath[0].split('@')
|
||||
tag = components[0]
|
||||
|
||||
Reference in New Issue
Block a user