diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-06-14 16:12:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-18 22:39:33 +0100 |
commit | 34c130227314488abe9f93f08b8274f977aaef11 (patch) | |
tree | c140adbd438a570c6df7a1984142da3f1f19b32e /bitbake/lib/bb | |
parent | 819c98d9ea3d9a1dc86f92cf6ea1aa41ba2349ea (diff) | |
download | poky-34c130227314488abe9f93f08b8274f977aaef11.tar.gz |
bitbake: cooker: fix whitespace
(Bitbake rev: a5f9603988b0a897696e529391b4d95c5e339833)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index dc8f54ca1d..b1311bb170 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -181,13 +181,13 @@ class BBCooker: | |||
181 | self.confignotifier = pyinotify.Notifier(self.configwatcher, self.config_notifications) | 181 | self.confignotifier = pyinotify.Notifier(self.configwatcher, self.config_notifications) |
182 | self.watchmask = pyinotify.IN_CLOSE_WRITE | pyinotify.IN_CREATE | pyinotify.IN_DELETE | \ | 182 | self.watchmask = pyinotify.IN_CLOSE_WRITE | pyinotify.IN_CREATE | pyinotify.IN_DELETE | \ |
183 | pyinotify.IN_DELETE_SELF | pyinotify.IN_MODIFY | pyinotify.IN_MOVE_SELF | \ | 183 | pyinotify.IN_DELETE_SELF | pyinotify.IN_MODIFY | pyinotify.IN_MOVE_SELF | \ |
184 | pyinotify.IN_MOVED_FROM | pyinotify.IN_MOVED_TO | 184 | pyinotify.IN_MOVED_FROM | pyinotify.IN_MOVED_TO |
185 | self.watcher = pyinotify.WatchManager() | 185 | self.watcher = pyinotify.WatchManager() |
186 | self.watcher.bbseen = [] | 186 | self.watcher.bbseen = [] |
187 | self.watcher.bbwatchedfiles = [] | 187 | self.watcher.bbwatchedfiles = [] |
188 | self.notifier = pyinotify.Notifier(self.watcher, self.notifications) | 188 | self.notifier = pyinotify.Notifier(self.watcher, self.notifications) |
189 | 189 | ||
190 | # If being called by something like tinfoil, we need to clean cached data | 190 | # If being called by something like tinfoil, we need to clean cached data |
191 | # which may now be invalid | 191 | # which may now be invalid |
192 | bb.parse.__mtime_cache = {} | 192 | bb.parse.__mtime_cache = {} |
193 | bb.parse.BBHandler.cached_statements = {} | 193 | bb.parse.BBHandler.cached_statements = {} |
@@ -282,7 +282,7 @@ class BBCooker: | |||
282 | watchtarget = None | 282 | watchtarget = None |
283 | while True: | 283 | while True: |
284 | # We try and add watches for files that don't exist but if they did, would influence | 284 | # We try and add watches for files that don't exist but if they did, would influence |
285 | # the parser. The parent directory of these files may not exist, in which case we need | 285 | # the parser. The parent directory of these files may not exist, in which case we need |
286 | # to watch any parent that does exist for changes. | 286 | # to watch any parent that does exist for changes. |
287 | try: | 287 | try: |
288 | watcher.add_watch(f, self.watchmask, quiet=False) | 288 | watcher.add_watch(f, self.watchmask, quiet=False) |
@@ -440,7 +440,7 @@ class BBCooker: | |||
440 | del self.configuration.env[k] | 440 | del self.configuration.env[k] |
441 | clean = False | 441 | clean = False |
442 | if k not in self.configuration.env and k not in environment: | 442 | if k not in self.configuration.env and k not in environment: |
443 | continue | 443 | continue |
444 | if environment[k] != self.configuration.env[k]: | 444 | if environment[k] != self.configuration.env[k]: |
445 | logger.debug(1, "Updating environment variable %s from %s to %s" % (k, self.configuration.env[k], environment[k])) | 445 | logger.debug(1, "Updating environment variable %s from %s to %s" % (k, self.configuration.env[k], environment[k])) |
446 | self.configuration.env[k] = environment[k] | 446 | self.configuration.env[k] = environment[k] |