3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-26 04:04:22 +01:00

ircs2s_common: add missing ProtocolError import

This commit is contained in:
James Lu 2017-06-29 21:55:33 -07:00
parent c9c01def8c
commit 67347935b5
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ from .log import *
### Exceptions ### Exceptions
# XXX: is this the right place to put this class?
class ProtocolError(RuntimeError): class ProtocolError(RuntimeError):
pass pass

View File

@ -6,7 +6,7 @@ import time
import re import re
from collections import defaultdict from collections import defaultdict
from pylinkirc.classes import IRCNetwork from pylinkirc.classes import IRCNetwork, ProtocolError
from pylinkirc.log import log from pylinkirc.log import log
from pylinkirc import utils from pylinkirc import utils