diff options
author | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2009-04-21 19:15:53 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2009-04-21 19:15:53 +0000 |
commit | 845070a26d27b8f2db6a373f6ff3cc74548d96e3 (patch) | |
tree | 35501d33030f6bfbb55a7d51453f102404166ae6 /lib/bb/COW.py | |
parent | 60e36de1b7c72139933bc1760094f28a64dc6b43 (diff) | |
download | openembedded-core-contrib-845070a26d27b8f2db6a373f6ff3cc74548d96e3.tar.gz |
lib: remove use of 'sets' to make Python 2.6 happy
Acked-by: Chris Larson <clarson@kergoth.com>
Diffstat (limited to 'lib/bb/COW.py')
-rw-r--r-- | lib/bb/COW.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/COW.py b/lib/bb/COW.py index e5063d60a8..5db41776ec 100644 --- a/lib/bb/COW.py +++ b/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__" |