diff options
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
-rw-r--r-- | bitbake/lib/bb/data_smart.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py index 0d39d20a45..c93aea7fef 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py | |||
@@ -32,7 +32,6 @@ import copy, os, re, sys, time, types | |||
32 | import bb | 32 | import bb |
33 | from bb import utils, methodpool | 33 | from bb import utils, methodpool |
34 | from COW import COWDictBase | 34 | from COW import COWDictBase |
35 | from sets import Set | ||
36 | from new import classobj | 35 | from new import classobj |
37 | 36 | ||
38 | 37 | ||
@@ -142,7 +141,7 @@ class DataSmart: | |||
142 | try: | 141 | try: |
143 | self._special_values[keyword].add( base ) | 142 | self._special_values[keyword].add( base ) |
144 | except: | 143 | except: |
145 | self._special_values[keyword] = Set() | 144 | self._special_values[keyword] = set() |
146 | self._special_values[keyword].add( base ) | 145 | self._special_values[keyword].add( base ) |
147 | 146 | ||
148 | return | 147 | return |
@@ -154,7 +153,7 @@ class DataSmart: | |||
154 | if '_' in var: | 153 | if '_' in var: |
155 | override = var[var.rfind('_')+1:] | 154 | override = var[var.rfind('_')+1:] |
156 | if not self._seen_overrides.has_key(override): | 155 | if not self._seen_overrides.has_key(override): |
157 | self._seen_overrides[override] = Set() | 156 | self._seen_overrides[override] = set() |
158 | self._seen_overrides[override].add( var ) | 157 | self._seen_overrides[override].add( var ) |
159 | 158 | ||
160 | # setting var | 159 | # setting var |