summaryrefslogtreecommitdiffstats
path: root/lib/bb/COW.py
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-04-21 19:15:53 +0000
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-04-21 19:15:53 +0000
commit845070a26d27b8f2db6a373f6ff3cc74548d96e3 (patch)
tree35501d33030f6bfbb55a7d51453f102404166ae6 /lib/bb/COW.py
parent60e36de1b7c72139933bc1760094f28a64dc6b43 (diff)
downloadbitbake-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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/COW.py b/lib/bb/COW.py
index e5063d60a..5db41776e 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__"