summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-19 11:09:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-20 13:57:50 +0100
commit6584e59ff026791d2355cdd0cce6b0e043a12cbb (patch)
tree2ba31427eaed0886d8b39112a215e6d0b4cff1f2
parent01066a584aa66a07f56cd64434731a650c523d09 (diff)
downloadpoky-6584e59ff026791d2355cdd0cce6b0e043a12cbb.tar.gz
bitbake: bitbake-server: Remove now unneeded code
With the previous patch this code is now pointless as we'd have hit a TypeError before now. (Bitbake rev: 6301a99055c79d89b715f72182cd0ef1b781b89a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbitbake/bin/bitbake-server2
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-server b/bitbake/bin/bitbake-server
index 65796be747..8e53947361 100755
--- a/bitbake/bin/bitbake-server
+++ b/bitbake/bin/bitbake-server
@@ -30,8 +30,6 @@ timeout = float(sys.argv[7])
30xmlrpcinterface = (sys.argv[8], int(sys.argv[9])) 30xmlrpcinterface = (sys.argv[8], int(sys.argv[9]))
31if xmlrpcinterface[0] == "None": 31if xmlrpcinterface[0] == "None":
32 xmlrpcinterface = (None, xmlrpcinterface[1]) 32 xmlrpcinterface = (None, xmlrpcinterface[1])
33if timeout == "None":
34 timeout = None
35 33
36# Replace standard fds with our own 34# Replace standard fds with our own
37with open('/dev/null', 'r') as si: 35with open('/dev/null', 'r') as si: