supybot-plugin-doc: Add Python 3 support.

This commit is contained in:
Valentin Lorentz 2014-08-10 15:03:08 +02:00
parent b1bfc7dda2
commit b89d49a480

View File

@ -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)