sgh7 / chrome_utils

Linux command-line utilities for Google's Chromium browser
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

NameError reduce when running chrome_throttle.py under Python 3. #11

Closed sgh7 closed 9 years ago

sgh7 commented 9 years ago

python3 chrome_utils/chrome_throttle.py --enable <PID> produces

Traceback (most recent call last): File "chrome_utils/chromethrottle.py", line 106, in if reduce(operator.or, [pid not in avail_pids for pid in arg_pids], NameError: name 'reduce' is not defined