diff options
author | Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> | 2017-05-29 12:42:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-06 19:02:43 +0100 |
commit | 8b66ad49a00c7bfabb0db824f727d741833f97ec (patch) | |
tree | 6ba03bbebe933e758b790ee318b2b9977a8d6c98 /meta | |
parent | 2e388503fe0efcac1130a9d542f759eca8efa311 (diff) | |
download | poky-8b66ad49a00c7bfabb0db824f727d741833f97ec.tar.gz |
devshell.bbclass: clean up trailing whitespaces
(From OE-Core rev: fac6c0fcb30d7cb49036cb32247569d65d1c5e7f)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/devshell.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass index 9fbe70e006..fdf7dc100f 100644 --- a/meta/classes/devshell.bbclass +++ b/meta/classes/devshell.bbclass | |||
@@ -8,7 +8,7 @@ python do_devshell () { | |||
8 | fakeenv = d.getVar("FAKEROOTENV").split() | 8 | fakeenv = d.getVar("FAKEROOTENV").split() |
9 | for f in fakeenv: | 9 | for f in fakeenv: |
10 | k = f.split("=") | 10 | k = f.split("=") |
11 | d.setVar(k[0], k[1]) | 11 | d.setVar(k[0], k[1]) |
12 | d.appendVar("OE_TERMINAL_EXPORTS", " " + k[0]) | 12 | d.appendVar("OE_TERMINAL_EXPORTS", " " + k[0]) |
13 | d.delVarFlag("do_devshell", "fakeroot") | 13 | d.delVarFlag("do_devshell", "fakeroot") |
14 | 14 | ||
@@ -49,7 +49,7 @@ def devpyshell(d): | |||
49 | old[3] = old[3] &~ termios.ECHO &~ termios.ICANON | 49 | old[3] = old[3] &~ termios.ECHO &~ termios.ICANON |
50 | # &~ termios.ISIG | 50 | # &~ termios.ISIG |
51 | termios.tcsetattr(fd, termios.TCSADRAIN, old) | 51 | termios.tcsetattr(fd, termios.TCSADRAIN, old) |
52 | 52 | ||
53 | # No echo or buffering over the pty | 53 | # No echo or buffering over the pty |
54 | noechoicanon(s) | 54 | noechoicanon(s) |
55 | 55 | ||
@@ -145,7 +145,7 @@ python do_devpyshell() { | |||
145 | try: | 145 | try: |
146 | devpyshell(d) | 146 | devpyshell(d) |
147 | except SystemExit: | 147 | except SystemExit: |
148 | # Stop the SIGTERM above causing an error exit code | 148 | # Stop the SIGTERM above causing an error exit code |
149 | return | 149 | return |
150 | finally: | 150 | finally: |
151 | return | 151 | return |