summaryrefslogtreecommitdiff
path: root/src/mailman/database
diff options
context:
space:
mode:
authorBarry Warsaw2010-10-08 17:17:34 -0400
committerBarry Warsaw2010-10-08 17:17:34 -0400
commit90814a40b82e559ebfa999df2121ba2e8e32500f (patch)
tree072fe79321581fde129cc87e9656da855a42b270 /src/mailman/database
parent3643347f1c8548bc903e4a95a48a926cd07d307d (diff)
downloadmailman-90814a40b82e559ebfa999df2121ba2e8e32500f.tar.gz
mailman-90814a40b82e559ebfa999df2121ba2e8e32500f.tar.zst
mailman-90814a40b82e559ebfa999df2121ba2e8e32500f.zip
Fix the obvious errors identified by pyflakes. Skip false positives (mostly
due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
Diffstat (limited to 'src/mailman/database')
-rw-r--r--src/mailman/database/stock.py3
-rw-r--r--src/mailman/database/types.py2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/mailman/database/stock.py b/src/mailman/database/stock.py
index 047b76cb9..e3c802455 100644
--- a/src/mailman/database/stock.py
+++ b/src/mailman/database/stock.py
@@ -37,9 +37,6 @@ import mailman.version
from mailman.config import config
from mailman.interfaces.database import IDatabase, SchemaVersionMismatchError
-from mailman.model.messagestore import MessageStore
-from mailman.model.pending import Pendings
-from mailman.model.requests import Requests
from mailman.model.version import Version
from mailman.utilities.string import expand
diff --git a/src/mailman/database/types.py b/src/mailman/database/types.py
index a4e76a7e8..707fd345c 100644
--- a/src/mailman/database/types.py
+++ b/src/mailman/database/types.py
@@ -26,8 +26,6 @@ __all__ = [
]
-import sys
-
from storm.properties import SimpleProperty
from storm.variables import Variable