From c009172f77549e385b9d79f15f181581c55e9909 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 11 May 2009 22:59:35 +0100 Subject: bitbake-dev: Sync with upstream Signed-off-by: Richard Purdie --- bitbake-dev/lib/bb/COW.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bitbake-dev/lib/bb/COW.py') diff --git a/bitbake-dev/lib/bb/COW.py b/bitbake-dev/lib/bb/COW.py index e5063d60a8..ca206cf4b4 100644 --- a/bitbake-dev/lib/bb/COW.py +++ b/bitbake-dev/lib/bb/COW.py @@ -23,10 +23,8 @@ # Assign a file to __warn__ to get warnings about slow operations. # -from inspect import getmro - import copy -import types, sets +import types types.ImmutableTypes = tuple([ \ types.BooleanType, \ types.ComplexType, \ @@ -35,7 +33,7 @@ types.ImmutableTypes = tuple([ \ types.LongType, \ types.NoneType, \ types.TupleType, \ - sets.ImmutableSet] + \ + frozenset] + \ list(types.StringTypes)) MUTABLE = "__mutable__" -- cgit v1.2.3