Fixed typo. From utf=8 to utf-8. (#15684)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
7459a83f62
commit
7126c8e9b5
@@ -14,7 +14,7 @@ print("Initial queue state: empty=" + str(q.empty()))
|
|||||||
while not q.empty():
|
while not q.empty():
|
||||||
item = q.lease(lease_secs=10, block=True, timeout=2)
|
item = q.lease(lease_secs=10, block=True, timeout=2)
|
||||||
if item is not None:
|
if item is not None:
|
||||||
itemstr = item.decode("utf=8")
|
itemstr = item.decode("utf-8")
|
||||||
print("Working on " + itemstr)
|
print("Working on " + itemstr)
|
||||||
time.sleep(10) # Put your actual work here instead of sleep.
|
time.sleep(10) # Put your actual work here instead of sleep.
|
||||||
q.complete(item)
|
q.complete(item)
|
||||||
|
|||||||
Reference in New Issue
Block a user