Skip to content

Commit cf1c55e

Browse files
committed
address comments
1 parent 3133a60 commit cf1c55e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def main(infile, outfile):
7474
_broadcastRegistry[bid] = Broadcast(bid, value)
7575
else:
7676
bid = - bid - 1
77-
_broadcastRegistry.pop(bid, None)
77+
_broadcastRegistry.remove(bid)
7878

7979
_accumulatorRegistry.clear()
8080
command = pickleSer._read_with_length(infile)

0 commit comments

Comments
 (0)