diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-11 22:59:35 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-11 22:59:35 +0100 |
commit | c009172f77549e385b9d79f15f181581c55e9909 (patch) | |
tree | aaf845578b30c67a2d3f4351afe29caa5e0ed235 /bitbake-dev/lib/bb/COW.py | |
parent | 107a9da00640a9e086a8608c20aee48aefd92893 (diff) | |
download | poky-c009172f77549e385b9d79f15f181581c55e9909.tar.gz |
bitbake-dev: Sync with upstream
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake-dev/lib/bb/COW.py')
-rw-r--r-- | bitbake-dev/lib/bb/COW.py | 6 |
1 files changed, 2 insertions, 4 deletions
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 @@ | |||
23 | # Assign a file to __warn__ to get warnings about slow operations. | 23 | # Assign a file to __warn__ to get warnings about slow operations. |
24 | # | 24 | # |
25 | 25 | ||
26 | from inspect import getmro | ||
27 | |||
28 | import copy | 26 | import copy |
29 | import types, sets | 27 | import types |
30 | types.ImmutableTypes = tuple([ \ | 28 | types.ImmutableTypes = tuple([ \ |
31 | types.BooleanType, \ | 29 | types.BooleanType, \ |
32 | types.ComplexType, \ | 30 | types.ComplexType, \ |
@@ -35,7 +33,7 @@ types.ImmutableTypes = tuple([ \ | |||
35 | types.LongType, \ | 33 | types.LongType, \ |
36 | types.NoneType, \ | 34 | types.NoneType, \ |
37 | types.TupleType, \ | 35 | types.TupleType, \ |
38 | sets.ImmutableSet] + \ | 36 | frozenset] + \ |
39 | list(types.StringTypes)) | 37 | list(types.StringTypes)) |
40 | 38 | ||
41 | MUTABLE = "__mutable__" | 39 | MUTABLE = "__mutable__" |