diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-12 16:53:22 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-12 16:53:22 +0100 |
commit | 81ff3a90f8f4ee0a00c439be9a1438de6c2ec168 (patch) | |
tree | 2bfed600f98fc2095ff7cfcf974e012627e826fc /bitbake/lib/bb/COW.py | |
parent | 22a4c4d02fa9a90903361780b0492c5d8e488af8 (diff) | |
download | openembedded-core-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.tar.gz openembedded-core-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.tar.bz2 openembedded-core-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.zip |
bitbake: Update to work without warnings with python 2.6
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/COW.py')
-rw-r--r-- | bitbake/lib/bb/COW.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/COW.py b/bitbake/lib/bb/COW.py index e5063d60a8..5db41776ec 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__" |