Commit e695e770 authored by Jeremy Hylton's avatar Jeremy Hylton

Remove unused imports and definitions of True/False.

parent 5d604d32
...@@ -41,12 +41,6 @@ from BTrees.IIBTree import IIBTree, IIBucket, IISet, IITreeSet ...@@ -41,12 +41,6 @@ from BTrees.IIBTree import IIBTree, IIBucket, IISet, IITreeSet
TYPE_UNKNOWN, TYPE_BTREE, TYPE_BUCKET = range(3) TYPE_UNKNOWN, TYPE_BTREE, TYPE_BUCKET = range(3)
try:
True
except NameError:
True = 1
False = 0
_type2kind = {IOBTree: (TYPE_BTREE, True), _type2kind = {IOBTree: (TYPE_BTREE, True),
IIBTree: (TYPE_BTREE, True), IIBTree: (TYPE_BTREE, True),
OIBTree: (TYPE_BTREE, True), OIBTree: (TYPE_BTREE, True),
......
...@@ -34,7 +34,6 @@ user/realm/password is used as the session key. XXX I'm not sure if ...@@ -34,7 +34,6 @@ user/realm/password is used as the session key. XXX I'm not sure if
this is a sound approach; SRP would be preferred. this is a sound approach; SRP would be preferred.
""" """
import base64
import os import os
import random import random
import sha import sha
......
...@@ -16,11 +16,9 @@ import os ...@@ -16,11 +16,9 @@ import os
import sys import sys
import time import time
import random import random
import select
import socket import socket
import asyncore import asyncore
import tempfile import tempfile
import thread # XXX do we really need to catch thread.error
import threading import threading
import time import time
......
...@@ -16,7 +16,6 @@ import asyncore ...@@ -16,7 +16,6 @@ import asyncore
import os import os
import socket import socket
import thread import thread
import errno
if os.name == 'posix': if os.name == 'posix':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment