jaraco / irc

Full-featured Python IRC library for Python.
MIT License
392 stars 86 forks source link

servermap.py example not works #59

Closed jaraco closed 8 years ago

jaraco commented 8 years ago
#!bash

(AvsPmod)[nekmo@homura /tmp/irc/scripts]$ python servermap.py irc.rizon.net:6667 Nekmocom
Traceback (most recent call last):
  File "servermap.py", line 170, in <module>
    main()
  File "servermap.py", line 152, in main
    reactor = irc.reactor.Reactor()
AttributeError: 'module' object has no attribute 'reactor'
(AvsPmod)[nekmo@homura /tmp/irc/scripts]$ python2 servermap.py irc.rizon.net:6667 Nekmocom
Traceback (most recent call last):
  File "servermap.py", line 170, in <module>
    main()
  File "servermap.py", line 152, in main
    reactor = irc.reactor.Reactor()
AttributeError: 'module' object has no attribute 'reactor'
(AvsPmod)[nekmo@homura /tmp/irc/scripts]$ 

OS: Arch Linux. Package version: irc==12.1.1

The error occurs inside (clean installation) and outside (system) of a virtualenv.


jaraco commented 8 years ago

Correct references to irc.client module, unintentionally replaced. Fixes #59.

→ <<cset 785d43181ef1>>


Original comment by: Jason R. Coombs

jaraco commented 8 years ago

Released as 12.1.2. Thanks for the report.


Original comment by: Jason R. Coombs