More pyflakes cleanup.

This commit is contained in:
Lance Stout 2012-02-18 11:44:05 -08:00
parent 7cdedb2ec0
commit 94b57d232d
4 changed files with 1 additions and 4 deletions

View file

@ -15,7 +15,6 @@ try:
except ImportError: except ImportError:
import Queue as queue import Queue as queue
from sleekxmpp.xmlstream import StanzaBase
from sleekxmpp.xmlstream.handler.base import BaseHandler from sleekxmpp.xmlstream.handler.base import BaseHandler

View file

@ -161,7 +161,7 @@ class Scheduler(object):
else: else:
break break
for task in cleanup: for task in cleanup:
x = self.schedule.pop(self.schedule.index(task)) self.schedule.pop(self.schedule.index(task))
else: else:
updated = True updated = True
self.schedule_lock.acquire() self.schedule_lock.acquire()

View file

@ -14,7 +14,6 @@
import copy import copy
import logging import logging
import sys
import weakref import weakref
from xml.etree import cElementTree as ET from xml.etree import cElementTree as ET

View file

@ -24,7 +24,6 @@ import ssl
import sys import sys
import threading import threading
import time import time
import types
import random import random
import weakref import weakref
try: try: