Commit bc39dd99 authored by Arnaud Fontaine's avatar Arnaud Fontaine

py3: UserDict moved to collections module.

parent 2f814c94
......@@ -26,7 +26,10 @@
#
##############################################################################
from UserDict import UserDict
from future.standard_library import install_aliases
install_aliases()
from collections import UserDict
from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet
......
......@@ -28,11 +28,14 @@
#
##############################################################################
from future.standard_library import install_aliases
install_aliases()
from builtins import map
from builtins import zip
from builtins import str
from builtins import range
from UserDict import UserDict
from collections import UserDict
import random
import unittest
from unittest import expectedFailure
......
......@@ -27,12 +27,15 @@
#
##############################################################################
from future.standard_library import install_aliases
install_aliases()
from past.builtins import basestring
from AccessControl import ClassSecurityInfo
from Products.ERP5Type.Tool.BaseTool import BaseTool
from Products.ERP5Type import Permissions
from Acquisition import aq_base
from UserDict import UserDict
from collections import UserDict
import collections
# the ERP5 cache factory used as a storage
......
# -*- coding: utf-8 -*-
from future.standard_library import install_aliases
install_aliases()
from builtins import str
from builtins import range
from builtins import object
import errno, logging, os, socket, time
import itertools
from threading import Thread
from UserDict import IterableUserDict
from collections import UserDict
import Lifetime
import transaction
from Testing import ZopeTestCase
......
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