bitbake: Update to work without warnings with python 2.6

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2009-05-12 16:53:22 +01:00
parent 22a4c4d02f
commit 81ff3a90f8
5 changed files with 10 additions and 14 deletions

View File

@@ -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__"