fix issue409 -- better interoperate with cx_freeze by not

trying to import from collections.abc which causes problems for py27/cx_freeze.
This commit is contained in:
holger krekel
2013-12-18 14:56:45 +01:00
parent 70c1503afc
commit 699892bd03
4 changed files with 11 additions and 8 deletions
+2 -6
View File
@@ -2,13 +2,9 @@
import py
try:
from collections.abc import Sequence
from collections import Sequence
except ImportError:
try:
from collections import Sequence
except ImportError:
Sequence = list
Sequence = list
BuiltinAssertionError = py.builtin.builtins.AssertionError
u = py.builtin._totext