Commit d81bfb3a authored by Jeremy Hylton's avatar Jeremy Hylton

Remove future statements. The future is now.

parent 0a443b6a
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
############################################################################## ##############################################################################
"""A debugging version of the server that records network activity.""" """A debugging version of the server that records network activity."""
from __future__ import nested_scopes
import struct import struct
import time import time
......
...@@ -20,8 +20,6 @@ XXX Need some basic access control-- a declaration of the methods ...@@ -20,8 +20,6 @@ XXX Need some basic access control-- a declaration of the methods
exported for invocation by the server. exported for invocation by the server.
""" """
from __future__ import nested_scopes
import asyncore import asyncore
import cPickle import cPickle
import os import os
......
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
############################################################################## ##############################################################################
"""Start the ZEO storage server.""" """Start the ZEO storage server."""
from __future__ import nested_scopes
import sys, os, getopt import sys, os, getopt
import types import types
import errno import errno
......
...@@ -18,8 +18,6 @@ multiple connections. ...@@ -18,8 +18,6 @@ multiple connections.
""" """
# XXX This code is currently broken. # XXX This code is currently broken.
from __future__ import nested_scopes
import ZODB import ZODB
from ZEO.ClientStorage import ClientStorage from ZEO.ClientStorage import ClientStorage
from ZODB.MappingStorage import MappingStorage from ZODB.MappingStorage import MappingStorage
......
...@@ -16,8 +16,6 @@ ...@@ -16,8 +16,6 @@
At times, we do 'white box' testing, i.e. we know about the internals At times, we do 'white box' testing, i.e. we know about the internals
of the ClientCache object. of the ClientCache object.
""" """
from __future__ import nested_scopes
import os import os
import time import time
import tempfile import tempfile
......
...@@ -13,9 +13,7 @@ ...@@ -13,9 +13,7 @@
############################################################################## ##############################################################################
"""Database connection support """Database connection support
$Id: Connection.py,v 1.100 2003/10/02 18:17:19 jeremy Exp $""" $Id: Connection.py,v 1.101 2003/11/03 18:56:30 jeremy Exp $"""
from __future__ import nested_scopes
from cPickleCache import PickleCache from cPickleCache import PickleCache
from POSException import ConflictError, ReadConflictError, TransactionError from POSException import ConflictError, ReadConflictError, TransactionError
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
Any storage that supports transactionalUndo() must pass these tests. Any storage that supports transactionalUndo() must pass these tests.
""" """
from __future__ import nested_scopes
import time import time
import types import types
......
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
# FOR A PARTICULAR PURPOSE. # FOR A PARTICULAR PURPOSE.
# #
############################################################################## ##############################################################################
from __future__ import nested_scopes
# Check interactions between transactionalUndo() and versions. Any storage # Check interactions between transactionalUndo() and versions. Any storage
# that supports both transactionalUndo() and versions must pass these tests. # that supports both transactionalUndo() and versions must pass these tests.
......
...@@ -17,7 +17,6 @@ Each DB Connection has a separate PickleCache. The Cache serves two ...@@ -17,7 +17,6 @@ Each DB Connection has a separate PickleCache. The Cache serves two
purposes. It acts like a memo for unpickling. It also keeps recent purposes. It acts like a memo for unpickling. It also keeps recent
objects in memory under the assumption that they may be used again. objects in memory under the assumption that they may be used again.
""" """
from __future__ import nested_scopes
import time import time
import types import types
......
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
# FOR A PARTICULAR PURPOSE. # FOR A PARTICULAR PURPOSE.
# #
############################################################################## ##############################################################################
from __future__ import nested_scopes
import ZODB.FileStorage import ZODB.FileStorage
import sys, os, unittest import sys, os, unittest
import errno import errno
......
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
# FOR A PARTICULAR PURPOSE. # FOR A PARTICULAR PURPOSE.
# #
############################################################################## ##############################################################################
from __future__ import nested_scopes
import unittest import unittest
import ZODB import ZODB
......
...@@ -7,9 +7,6 @@ usage: netspace.py [-P | -v] data.fs ...@@ -7,9 +7,6 @@ usage: netspace.py [-P | -v] data.fs
-v: print info for all objects, even if a traversal path isn't found -v: print info for all objects, even if a traversal path isn't found
""" """
from __future__ import nested_scopes
import ZODB import ZODB
from ZODB.FileStorage import FileStorage from ZODB.FileStorage import FileStorage
from ZODB.utils import U64 from ZODB.utils import U64
......
...@@ -62,8 +62,6 @@ Options for -R/--recover: ...@@ -62,8 +62,6 @@ Options for -R/--recover:
written to stdout. written to stdout.
""" """
from __future__ import nested_scopes
import os import os
import sys import sys
import md5 import md5
......
from __future__ import nested_scopes
# Some simple tests for zeopack.py # Some simple tests for zeopack.py
# For this to work, zeopack.py must by on your PATH. # For this to work, zeopack.py must by on your PATH.
......
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