mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-14 22:49:23 +01:00
supybot-plugin-doc: Add Python 3 support.
This commit is contained in:
parent
b1bfc7dda2
commit
b89d49a480
@ -36,6 +36,9 @@ import shutil
|
||||
|
||||
import supybot
|
||||
|
||||
if sys.version_info[0] >= 3:
|
||||
basestring = str
|
||||
|
||||
def error(s):
|
||||
sys.stderr.write('%s\n' % s)
|
||||
sys.exit(-1)
|
||||
|
Loading…
Reference in New Issue
Block a user