mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
More pyflakes cleanup.
This commit is contained in:
parent
7cdedb2ec0
commit
94b57d232d
4 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue