diff options
Diffstat (limited to 'func')
-rw-r--r-- | func/forkbomb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/func/forkbomb.py b/func/forkbomb.py index b835d3d..4448337 100644 --- a/func/forkbomb.py +++ b/func/forkbomb.py @@ -75,8 +75,8 @@ def __bucketize(pool, slots): buckets = {} count = 0 for key in pool: - count = count + 1 slot = count % slots + count = count + 1 if not buckets.has_key(slot): buckets[slot] = [] buckets[slot].append(key) |