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/cooker.py | |
parent | 60e36de1b7c72139933bc1760094f28a64dc6b43 (diff) | |
download | bitbake-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/cooker.py')
-rw-r--r-- | lib/bb/cooker.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index e7c0082c3..7efff5a09 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -26,7 +26,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 bb import xmlrpcserver, command -from sets import Set import itertools, sre_constants class MultipleMatches(Exception): @@ -638,7 +637,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 @@ -765,7 +764,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()) for dep in self.configuration.extra_assume_provided: self.status.ignored_dependencies.add(dep) |