summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-12 16:53:22 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-12 16:53:22 +0100
commit81ff3a90f8f4ee0a00c439be9a1438de6c2ec168 (patch)
tree2bfed600f98fc2095ff7cfcf974e012627e826fc /bitbake/lib/bb/cooker.py
parent22a4c4d02fa9a90903361780b0492c5d8e488af8 (diff)
downloadopenembedded-core-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.tar.gz
openembedded-core-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.tar.bz2
openembedded-core-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.tar.xz
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/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 610824ab2..1f31d1203 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -25,7 +25,6 @@
import sys, os, getopt, glob, copy, os.path, re, time
import bb
from bb import utils, data, parse, event, cache, providers, taskdata, runqueue
-from sets import Set
import itertools, sre_constants
parsespin = itertools.cycle( r'|/-\\' )
@@ -482,7 +481,7 @@ class BBCooker:
# Tweak some variables
item = self.bb_cache.getVar('PN', fn, True)
- self.status.ignored_dependencies = Set()
+ self.status.ignored_dependencies = set()
self.status.bbfile_priority[fn] = 1
# Remove external dependencies
@@ -574,7 +573,7 @@ class BBCooker:
self.status = bb.cache.CacheData()
ignore = bb.data.getVar("ASSUME_PROVIDED", self.configuration.data, 1) or ""
- self.status.ignored_dependencies = Set( ignore.split() )
+ self.status.ignored_dependencies = set( ignore.split() )
self.handleCollections( bb.data.getVar("BBFILE_COLLECTIONS", self.configuration.data, 1) )