summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-02-18 11:44:05 -0800
committerLance Stout <lancestout@gmail.com>2012-02-18 11:44:05 -0800
commit94b57d232d0fd1198835a93a013e1f9ff715d5eb (patch)
treec2bba0e3fc765da0a42d46a463d4e0171b16994d /sleekxmpp/xmlstream
parent7cdedb2ec0415a77dd2307710d44bae475f09b54 (diff)
downloadslixmpp-94b57d232d0fd1198835a93a013e1f9ff715d5eb.tar.gz
slixmpp-94b57d232d0fd1198835a93a013e1f9ff715d5eb.tar.bz2
slixmpp-94b57d232d0fd1198835a93a013e1f9ff715d5eb.tar.xz
slixmpp-94b57d232d0fd1198835a93a013e1f9ff715d5eb.zip
More pyflakes cleanup.
Diffstat (limited to 'sleekxmpp/xmlstream')
-rw-r--r--sleekxmpp/xmlstream/handler/waiter.py1
-rw-r--r--sleekxmpp/xmlstream/scheduler.py2
-rw-r--r--sleekxmpp/xmlstream/stanzabase.py1
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py1
4 files changed, 1 insertions, 4 deletions
diff --git a/sleekxmpp/xmlstream/handler/waiter.py b/sleekxmpp/xmlstream/handler/waiter.py
index 01ff5d67..899df17c 100644
--- a/sleekxmpp/xmlstream/handler/waiter.py
+++ b/sleekxmpp/xmlstream/handler/waiter.py
@@ -15,7 +15,6 @@ try:
except ImportError:
import Queue as queue
-from sleekxmpp.xmlstream import StanzaBase
from sleekxmpp.xmlstream.handler.base import BaseHandler
diff --git a/sleekxmpp/xmlstream/scheduler.py b/sleekxmpp/xmlstream/scheduler.py
index 4a6f073f..8ec73164 100644
--- a/sleekxmpp/xmlstream/scheduler.py
+++ b/sleekxmpp/xmlstream/scheduler.py
@@ -161,7 +161,7 @@ class Scheduler(object):
else:
break
for task in cleanup:
- x = self.schedule.pop(self.schedule.index(task))
+ self.schedule.pop(self.schedule.index(task))
else:
updated = True
self.schedule_lock.acquire()
diff --git a/sleekxmpp/xmlstream/stanzabase.py b/sleekxmpp/xmlstream/stanzabase.py
index 1a146fa8..648f8603 100644
--- a/sleekxmpp/xmlstream/stanzabase.py
+++ b/sleekxmpp/xmlstream/stanzabase.py
@@ -14,7 +14,6 @@
import copy
import logging
-import sys
import weakref
from xml.etree import cElementTree as ET
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index c15bd657..f626eb00 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -24,7 +24,6 @@ import ssl
import sys
import threading
import time
-import types
import random
import weakref
try: