summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-10-06 15:12:39 -0400
committerLance Stout <lancestout@gmail.com>2010-10-06 15:12:39 -0400
commitc294c1a85c2defa74a98a1215a4739cb3647d6cb (patch)
tree899279791695ed94643859835b3af57ad9e9a8bb /sleekxmpp/xmlstream
parentcbe76c8a70540d8890c2be97a908a00d93f5e597 (diff)
downloadslixmpp-c294c1a85c2defa74a98a1215a4739cb3647d6cb.tar.gz
slixmpp-c294c1a85c2defa74a98a1215a4739cb3647d6cb.tar.bz2
slixmpp-c294c1a85c2defa74a98a1215a4739cb3647d6cb.tar.xz
slixmpp-c294c1a85c2defa74a98a1215a4739cb3647d6cb.zip
More PEP8 compliance cleanups.
Cleaned up the atom entry stanza.
Diffstat (limited to 'sleekxmpp/xmlstream')
-rw-r--r--sleekxmpp/xmlstream/__init__.py4
-rw-r--r--sleekxmpp/xmlstream/matcher/__init__.py2
-rw-r--r--sleekxmpp/xmlstream/stanzabase.py1
3 files changed, 3 insertions, 4 deletions
diff --git a/sleekxmpp/xmlstream/__init__.py b/sleekxmpp/xmlstream/__init__.py
index fadefa20..09514958 100644
--- a/sleekxmpp/xmlstream/__init__.py
+++ b/sleekxmpp/xmlstream/__init__.py
@@ -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']
diff --git a/sleekxmpp/xmlstream/matcher/__init__.py b/sleekxmpp/xmlstream/matcher/__init__.py
index 86447b76..1038d1bd 100644
--- a/sleekxmpp/xmlstream/matcher/__init__.py
+++ b/sleekxmpp/xmlstream/matcher/__init__.py
@@ -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']
diff --git a/sleekxmpp/xmlstream/stanzabase.py b/sleekxmpp/xmlstream/stanzabase.py
index f8242005..f4a7e506 100644
--- a/sleekxmpp/xmlstream/stanzabase.py
+++ b/sleekxmpp/xmlstream/stanzabase.py
@@ -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]