From 81ff3a90f8f4ee0a00c439be9a1438de6c2ec168 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 12 May 2009 16:53:22 +0100 Subject: bitbake: Update to work without warnings with python 2.6 Signed-off-by: Richard Purdie --- bitbake/lib/bb/COW.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb/COW.py') diff --git a/bitbake/lib/bb/COW.py b/bitbake/lib/bb/COW.py index e5063d60a..5db41776e 100644 --- a/bitbake/lib/bb/COW.py +++ b/bitbake/lib/bb/COW.py @@ -26,7 +26,7 @@ from inspect import getmro import copy -import types, sets +import types types.ImmutableTypes = tuple([ \ types.BooleanType, \ types.ComplexType, \ @@ -35,7 +35,7 @@ types.ImmutableTypes = tuple([ \ types.LongType, \ types.NoneType, \ types.TupleType, \ - sets.ImmutableSet] + \ + frozenset] + \ list(types.StringTypes)) MUTABLE = "__mutable__" -- cgit v1.2.3