When I tried to run example.py on Mac I ran into error below. This suggests that the poll() function is not available on Mac OS.
Traceback (most recent call last):
File "example.py", line 34, in
from pygerrit.client import GerritClient
File "/Users/deenseth/workspaces/wsGerrit/pygerrit/pygerrit/client.py", line 33, in
from .stream import GerritStream
File "/Users/deenseth/workspaces/wsGerrit/pygerrit/pygerrit/stream.py", line 31, in
from select import poll, POLLIN
ImportError: cannot import name poll
When I tried to run example.py on Mac I ran into error below. This suggests that the poll() function is not available on Mac OS.
Traceback (most recent call last): File "example.py", line 34, in
from pygerrit.client import GerritClient
File "/Users/deenseth/workspaces/wsGerrit/pygerrit/pygerrit/client.py", line 33, in
from .stream import GerritStream
File "/Users/deenseth/workspaces/wsGerrit/pygerrit/pygerrit/stream.py", line 31, in
from select import poll, POLLIN
ImportError: cannot import name poll