diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 2246d954ce..028138ad02 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -451,6 +451,9 @@ def connectProcessServer(sockname, featureset): | |||
451 | # AF_UNIX has path length issues so chdir here to workaround | 451 | # AF_UNIX has path length issues so chdir here to workaround |
452 | cwd = os.getcwd() | 452 | cwd = os.getcwd() |
453 | 453 | ||
454 | readfd = writefd = readfd1 = writefd1 = readfd2 = writefd2 = None | ||
455 | eq = command_chan_recv = command_chan = None | ||
456 | |||
454 | try: | 457 | try: |
455 | try: | 458 | try: |
456 | os.chdir(os.path.dirname(sockname)) | 459 | os.chdir(os.path.dirname(sockname)) |
@@ -458,9 +461,6 @@ def connectProcessServer(sockname, featureset): | |||
458 | finally: | 461 | finally: |
459 | os.chdir(cwd) | 462 | os.chdir(cwd) |
460 | 463 | ||
461 | readfd = writefd = readfd1 = writefd1 = readfd2 = writefd2 = None | ||
462 | eq = command_chan_recv = command_chan = None | ||
463 | |||
464 | # Send an fd for the remote to write events to | 464 | # Send an fd for the remote to write events to |
465 | readfd, writefd = os.pipe() | 465 | readfd, writefd = os.pipe() |
466 | eq = BBUIEventQueue(readfd) | 466 | eq = BBUIEventQueue(readfd) |