summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/bitbake-hashserv
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin/bitbake-hashserv')
-rwxr-xr-xbitbake/bin/bitbake-hashserv5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-hashserv b/bitbake/bin/bitbake-hashserv
index 1085d0584e..c560b3e58a 100755
--- a/bitbake/bin/bitbake-hashserv
+++ b/bitbake/bin/bitbake-hashserv
@@ -127,7 +127,10 @@ websocket, as in "wss://SERVER:PORT"
127 logger.addHandler(console) 127 logger.addHandler(console)
128 128
129 read_only = (os.environ.get("HASHSERVER_READ_ONLY", "0") == "1") or args.read_only 129 read_only = (os.environ.get("HASHSERVER_READ_ONLY", "0") == "1") or args.read_only
130 anon_perms = args.anon_perms.split(",") 130 if "," in args.anon_perms:
131 anon_perms = args.anon_perms.split(",")
132 else:
133 anon_perms = args.anon_perms.split()
131 134
132 server = hashserv.create_server( 135 server = hashserv.create_server(
133 args.bind, 136 args.bind,