lint cleanups
This commit is contained in:
parent
d518cb2b77
commit
44d8b7db00
@ -1,5 +1,4 @@
|
|||||||
"""Start the IRC bot via Django management command."""
|
"""Start the IRC bot via Django management command."""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import signal
|
import signal
|
||||||
|
|
||||||
@ -7,7 +6,6 @@ from django.core.management import BaseCommand
|
|||||||
|
|
||||||
from ircbot.bot import IRCBot
|
from ircbot.bot import IRCBot
|
||||||
|
|
||||||
|
|
||||||
log = logging.getLogger('ircbot')
|
log = logging.getLogger('ircbot')
|
||||||
|
|
||||||
|
|
||||||
@ -21,7 +19,6 @@ class Command(BaseCommand):
|
|||||||
|
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
"""Start the IRC bot and spin forever."""
|
"""Start the IRC bot and spin forever."""
|
||||||
|
|
||||||
irc = IRCBot()
|
irc = IRCBot()
|
||||||
signal.signal(signal.SIGINT, irc.sigint_handler)
|
signal.signal(signal.SIGINT, irc.sigint_handler)
|
||||||
irc.start()
|
irc.start()
|
||||||
|
Loading…
Reference in New Issue
Block a user