forked from sopel-irc/sopel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c8ba3f
commit 049d517
Showing
110 changed files
with
193 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
#!/usr/bin/env python3 | ||
# coding=utf-8 | ||
from __future__ import unicode_literals, absolute_import, print_function, division | ||
from __future__ import absolute_import, division, print_function, unicode_literals | ||
|
||
import sys | ||
|
||
# Different from setuptools script, because we want the one in this dir. | ||
from sopel.cli import run | ||
|
||
sys.exit(run.main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ class SpamSection(config.types.StaticSection): | |
# Copyright © 2012, Elad Alfassa <[email protected]> | ||
# Licensed under the Eiffel Forum License 2. | ||
|
||
from __future__ import unicode_literals, absolute_import, print_function, division | ||
from __future__ import absolute_import, division, print_function, unicode_literals | ||
|
||
import os | ||
import sys | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,22 +12,22 @@ | |
# Copyright 2019, Florian Strzelecki <[email protected]> | ||
# | ||
# Licensed under the Eiffel Forum License 2. | ||
from __future__ import unicode_literals, absolute_import, print_function, division | ||
from __future__ import absolute_import, division, print_function, unicode_literals | ||
|
||
import base64 | ||
import collections | ||
import datetime | ||
import functools | ||
import logging | ||
from random import randint | ||
import re | ||
import sys | ||
import time | ||
from random import randint | ||
|
||
from sopel import loader, module | ||
from sopel.irc import isupport | ||
from sopel.irc.utils import CapReq, MyInfo | ||
from sopel.tools import Identifier, events, iteritems, jobs, target, web | ||
from sopel.tools import events, Identifier, iteritems, jobs, target, web | ||
|
||
|
||
if sys.version_info.major >= 3: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,12 +23,14 @@ | |
# Copyright 2019, Florian Strzelecki <[email protected]> | ||
# | ||
# Licensed under the Eiffel Forum License 2. | ||
from __future__ import unicode_literals, absolute_import, print_function, division | ||
from __future__ import absolute_import, division, print_function, unicode_literals | ||
|
||
from datetime import datetime | ||
import logging | ||
import os | ||
import sys | ||
import threading | ||
import time | ||
import os | ||
import logging | ||
|
||
try: | ||
import ssl | ||
|
@@ -43,15 +45,11 @@ | |
# no SSL support | ||
has_ssl = False | ||
|
||
import threading | ||
from datetime import datetime | ||
|
||
from sopel import tools | ||
from sopel.trigger import PreTrigger | ||
|
||
from .backends import AsynchatBackend, SSLAsynchatBackend | ||
from .isupport import ISupport | ||
from .utils import safe, CapReq | ||
from .utils import CapReq, safe | ||
|
||
if sys.version_info.major >= 3: | ||
unicode = str | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Copyright 2019, Florian Strzelecki <[email protected]> | ||
# | ||
# Licensed under the Eiffel Forum License 2. | ||
from __future__ import unicode_literals, absolute_import, print_function, division | ||
from __future__ import absolute_import, division, print_function, unicode_literals | ||
|
||
import threading | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
# Copyright 2019, Florian Strzelecki <[email protected]> | ||
# | ||
# Licensed under the Eiffel Forum License 2. | ||
from __future__ import unicode_literals, absolute_import, print_function, division | ||
from __future__ import absolute_import, division, print_function, unicode_literals | ||
|
||
import functools | ||
import itertools | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,12 @@ | |
# Copyright 2019, Florian Strzelecki <[email protected]> | ||
# | ||
# Licensed under the Eiffel Forum License 2. | ||
from __future__ import unicode_literals, absolute_import, print_function, division | ||
from __future__ import absolute_import, division, print_function, unicode_literals | ||
|
||
import collections | ||
import sys | ||
from dns import resolver, rdtypes | ||
|
||
from dns import rdtypes, resolver | ||
|
||
if sys.version_info.major >= 3: | ||
unicode = str | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
# Copyright 2019, Florian Strzelecki <[email protected]> | ||
# Licensed under the Eiffel Forum License 2. | ||
|
||
from __future__ import unicode_literals, absolute_import, print_function, division | ||
from __future__ import absolute_import, division, print_function, unicode_literals | ||
|
||
import functools | ||
import re | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# coding=utf-8 | ||
from __future__ import unicode_literals, absolute_import, print_function, division | ||
from __future__ import absolute_import, division, print_function, unicode_literals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.