diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index c51c6f2e43..eba4aefb54 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/lib/bb/main.py @@ -259,7 +259,7 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters): help="The name/address for the bitbake xmlrpc server to bind to.") parser.add_option("-T", "--idle-timeout", type=float, dest="server_timeout", - default=float(os.environ.get("BB_SERVER_TIMEOUT", 0)) or None, + default=os.environ.get("BB_SERVER_TIMEOUT", 0) or None, help="Set timeout to unload bitbake server due to inactivity") parser.add_option("", "--no-setscene", action="store_true",