summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/server/process.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 1975bd445f..8a7c43160a 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -523,6 +523,10 @@ class ConnectionReader(object):
523 def fileno(self): 523 def fileno(self):
524 return self.reader.fileno() 524 return self.reader.fileno()
525 525
526 def close(self):
527 return self.reader.close()
528
529
526class ConnectionWriter(object): 530class ConnectionWriter(object):
527 531
528 def __init__(self, fd): 532 def __init__(self, fd):
@@ -536,3 +540,8 @@ class ConnectionWriter(object):
536 with self.wlock: 540 with self.wlock:
537 self.writer.send_bytes(obj) 541 self.writer.send_bytes(obj)
538 542
543 def fileno(self):
544 return self.writer.fileno()
545
546 def close(self):
547 return self.writer.close()