diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-12 16:53:22 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-12 16:53:22 +0100 |
| commit | 81ff3a90f8f4ee0a00c439be9a1438de6c2ec168 (patch) | |
| tree | 2bfed600f98fc2095ff7cfcf974e012627e826fc /bitbake/lib/bb/cooker.py | |
| parent | 22a4c4d02fa9a90903361780b0492c5d8e488af8 (diff) | |
| download | poky-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.tar.gz | |
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.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 610824ab21..1f31d1203a 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
| @@ -25,7 +25,6 @@ | |||
| 25 | import sys, os, getopt, glob, copy, os.path, re, time | 25 | import sys, os, getopt, glob, copy, os.path, re, time |
| 26 | import bb | 26 | import bb |
| 27 | from bb import utils, data, parse, event, cache, providers, taskdata, runqueue | 27 | from bb import utils, data, parse, event, cache, providers, taskdata, runqueue |
| 28 | from sets import Set | ||
| 29 | import itertools, sre_constants | 28 | import itertools, sre_constants |
| 30 | 29 | ||
| 31 | parsespin = itertools.cycle( r'|/-\\' ) | 30 | parsespin = itertools.cycle( r'|/-\\' ) |
| @@ -482,7 +481,7 @@ class BBCooker: | |||
| 482 | 481 | ||
| 483 | # Tweak some variables | 482 | # Tweak some variables |
| 484 | item = self.bb_cache.getVar('PN', fn, True) | 483 | item = self.bb_cache.getVar('PN', fn, True) |
| 485 | self.status.ignored_dependencies = Set() | 484 | self.status.ignored_dependencies = set() |
| 486 | self.status.bbfile_priority[fn] = 1 | 485 | self.status.bbfile_priority[fn] = 1 |
| 487 | 486 | ||
| 488 | # Remove external dependencies | 487 | # Remove external dependencies |
| @@ -574,7 +573,7 @@ class BBCooker: | |||
| 574 | self.status = bb.cache.CacheData() | 573 | self.status = bb.cache.CacheData() |
| 575 | 574 | ||
| 576 | ignore = bb.data.getVar("ASSUME_PROVIDED", self.configuration.data, 1) or "" | 575 | ignore = bb.data.getVar("ASSUME_PROVIDED", self.configuration.data, 1) or "" |
| 577 | self.status.ignored_dependencies = Set( ignore.split() ) | 576 | self.status.ignored_dependencies = set( ignore.split() ) |
| 578 | 577 | ||
| 579 | self.handleCollections( bb.data.getVar("BBFILE_COLLECTIONS", self.configuration.data, 1) ) | 578 | self.handleCollections( bb.data.getVar("BBFILE_COLLECTIONS", self.configuration.data, 1) ) |
| 580 | 579 | ||
