mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
2e388503fe
commit
8b66ad49a0
@@ -8,7 +8,7 @@ python do_devshell () {
|
||||
fakeenv = d.getVar("FAKEROOTENV").split()
|
||||
for f in fakeenv:
|
||||
k = f.split("=")
|
||||
d.setVar(k[0], k[1])
|
||||
d.setVar(k[0], k[1])
|
||||
d.appendVar("OE_TERMINAL_EXPORTS", " " + k[0])
|
||||
d.delVarFlag("do_devshell", "fakeroot")
|
||||
|
||||
@@ -49,7 +49,7 @@ def devpyshell(d):
|
||||
old[3] = old[3] &~ termios.ECHO &~ termios.ICANON
|
||||
# &~ termios.ISIG
|
||||
termios.tcsetattr(fd, termios.TCSADRAIN, old)
|
||||
|
||||
|
||||
# No echo or buffering over the pty
|
||||
noechoicanon(s)
|
||||
|
||||
@@ -145,7 +145,7 @@ python do_devpyshell() {
|
||||
try:
|
||||
devpyshell(d)
|
||||
except SystemExit:
|
||||
# Stop the SIGTERM above causing an error exit code
|
||||
# Stop the SIGTERM above causing an error exit code
|
||||
return
|
||||
finally:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user