summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-06-09 16:59:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-18 22:39:33 +0100
commitf93c9157e510bbc2d4d9d5fa74b8b53babc81333 (patch)
tree5801f3341343c23e1ff6d36f8ff21f006fa8fda2 /bitbake
parentc361cac161de2aa661df993376c526b860c7f642 (diff)
downloadpoky-f93c9157e510bbc2d4d9d5fa74b8b53babc81333.tar.gz
bitbake: cookerdata: fix indentation and trailing spaces
Fix one incorrect indentation and several lines with trailing spaces. (Bitbake rev: 4dbf4f1907a32f303c2e9acf2f27817cf3c9ec38) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cookerdata.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py
index 644bb383e8..c2aeee63fb 100644
--- a/bitbake/lib/bb/cookerdata.py
+++ b/bitbake/lib/bb/cookerdata.py
@@ -73,15 +73,15 @@ class ConfigParameters(object):
73 73
74 def updateToServer(self, server, environment): 74 def updateToServer(self, server, environment):
75 options = {} 75 options = {}
76 for o in ["abort", "tryaltconfigs", "force", "invalidate_stamp", 76 for o in ["abort", "tryaltconfigs", "force", "invalidate_stamp",
77 "verbose", "debug", "dry_run", "dump_signatures", 77 "verbose", "debug", "dry_run", "dump_signatures",
78 "debug_domains", "extra_assume_provided", "profile", 78 "debug_domains", "extra_assume_provided", "profile",
79 "prefile", "postfile", "tracking"]: 79 "prefile", "postfile", "tracking"]:
80 options[o] = getattr(self.options, o) 80 options[o] = getattr(self.options, o)
81 81
82 ret, error = server.runCommand(["updateConfig", options, environment, sys.argv]) 82 ret, error = server.runCommand(["updateConfig", options, environment, sys.argv])
83 if error: 83 if error:
84 raise Exception("Unable to update the server configuration with local parameters: %s" % error) 84 raise Exception("Unable to update the server configuration with local parameters: %s" % error)
85 85
86 def parseActions(self): 86 def parseActions(self):
87 # Parse any commandline into actions 87 # Parse any commandline into actions
@@ -173,7 +173,7 @@ class CookerConfiguration(object):
173 173
174 def __setstate__(self,state): 174 def __setstate__(self,state):
175 for k in state: 175 for k in state:
176 setattr(self, k, state[k]) 176 setattr(self, k, state[k])
177 177
178 178
179def catch_parse_error(func): 179def catch_parse_error(func):
@@ -255,7 +255,7 @@ class CookerDataBuilder(object):
255 filtered_keys = bb.utils.approved_variables() 255 filtered_keys = bb.utils.approved_variables()
256 bb.data.inheritFromOS(self.basedata, self.savedenv, filtered_keys) 256 bb.data.inheritFromOS(self.basedata, self.savedenv, filtered_keys)
257 self.basedata.setVar("BB_ORIGENV", self.savedenv) 257 self.basedata.setVar("BB_ORIGENV", self.savedenv)
258 258
259 if worker: 259 if worker:
260 self.basedata.setVar("BB_WORKERCONTEXT", "1") 260 self.basedata.setVar("BB_WORKERCONTEXT", "1")
261 261