Skip to content

Commit

Permalink
Merge pull request #2 from mafagafo/master
Browse files Browse the repository at this point in the history
Useless imports
  • Loading branch information
bear committed Jul 13, 2014
2 parents 58cba61 + 20a940c commit 377d787
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions irc/irclib.py
Expand Up @@ -88,6 +88,7 @@
# ERROR from the server triggers the error event and the disconnect event.
# dropping of the connection triggers the disconnect event.


class IRCError(Exception):
"""Represents an IRC exception."""
pass
Expand Down
1 change: 1 addition & 0 deletions modules/echo.py
Expand Up @@ -12,4 +12,5 @@

def echo(msg, sender, channel, private, irc):
irc.put(('irc', channel, 'echo [%s]' % msg))

echo.commands = ['echo', "foo"]
1 change: 1 addition & 0 deletions modules/ping.py
Expand Up @@ -51,4 +51,5 @@ def ping(msg, sender, channel, private, irc):
break
if len(reply) > 0:
irc.put(('irc', channel, '\n'.join(reply)))

ping.commands = ['ping']
3 changes: 1 addition & 2 deletions rbot.py
Expand Up @@ -21,9 +21,8 @@
bear Mike Taylor <bear@mozilla.com>
"""

import sys, os
import os
import imp
import logging

from multiprocessing import Process, Queue, get_logger, log_to_stderr
from Queue import Empty
Expand Down

0 comments on commit 377d787

Please sign in to comment.