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 | poky-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.tar.gz |
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 @@ | |||
26 | from inspect import getmro | 26 | from inspect import getmro |
27 | 27 | ||
28 | import copy | 28 | import copy |
29 | import types, sets | 29 | import types |
30 | types.ImmutableTypes = tuple([ \ | 30 | types.ImmutableTypes = tuple([ \ |
31 | types.BooleanType, \ | 31 | types.BooleanType, \ |
32 | types.ComplexType, \ | 32 | types.ComplexType, \ |
@@ -35,7 +35,7 @@ types.ImmutableTypes = tuple([ \ | |||
35 | types.LongType, \ | 35 | types.LongType, \ |
36 | types.NoneType, \ | 36 | types.NoneType, \ |
37 | types.TupleType, \ | 37 | types.TupleType, \ |
38 | sets.ImmutableSet] + \ | 38 | frozenset] + \ |
39 | list(types.StringTypes)) | 39 | list(types.StringTypes)) |
40 | 40 | ||
41 | MUTABLE = "__mutable__" | 41 | MUTABLE = "__mutable__" |