diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-19 11:09:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-20 13:57:50 +0100 |
commit | 6584e59ff026791d2355cdd0cce6b0e043a12cbb (patch) | |
tree | 2ba31427eaed0886d8b39112a215e6d0b4cff1f2 | |
parent | 01066a584aa66a07f56cd64434731a650c523d09 (diff) | |
download | poky-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-x | bitbake/bin/bitbake-server | 2 |
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]) | |||
30 | xmlrpcinterface = (sys.argv[8], int(sys.argv[9])) | 30 | xmlrpcinterface = (sys.argv[8], int(sys.argv[9])) |
31 | if xmlrpcinterface[0] == "None": | 31 | if xmlrpcinterface[0] == "None": |
32 | xmlrpcinterface = (None, xmlrpcinterface[1]) | 32 | xmlrpcinterface = (None, xmlrpcinterface[1]) |
33 | if timeout == "None": | ||
34 | timeout = None | ||
35 | 33 | ||
36 | # Replace standard fds with our own | 34 | # Replace standard fds with our own |
37 | with open('/dev/null', 'r') as si: | 35 | with open('/dev/null', 'r') as si: |