summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server/process.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/server/process.py')
-rw-r--r--bitbake/lib/bb/server/process.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index eb794e0dd4..1a6a826746 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -471,6 +471,9 @@ def connectProcessServer(sockname, featureset):
471 # AF_UNIX has path length issues so chdir here to workaround 471 # AF_UNIX has path length issues so chdir here to workaround
472 cwd = os.getcwd() 472 cwd = os.getcwd()
473 473
474 readfd = writefd = readfd1 = writefd1 = readfd2 = writefd2 = None
475 eq = command_chan_recv = command_chan = None
476
474 try: 477 try:
475 try: 478 try:
476 os.chdir(os.path.dirname(sockname)) 479 os.chdir(os.path.dirname(sockname))
@@ -478,9 +481,6 @@ def connectProcessServer(sockname, featureset):
478 finally: 481 finally:
479 os.chdir(cwd) 482 os.chdir(cwd)
480 483
481 readfd = writefd = readfd1 = writefd1 = readfd2 = writefd2 = None
482 eq = command_chan_recv = command_chan = None
483
484 # Send an fd for the remote to write events to 484 # Send an fd for the remote to write events to
485 readfd, writefd = os.pipe() 485 readfd, writefd = os.pipe()
486 eq = BBUIEventQueue(readfd) 486 eq = BBUIEventQueue(readfd)