mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
doc: make script docgen.py compatible with Python 3.x
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ try:
|
||||
import os, gettext, re, hashlib
|
||||
from collections import defaultdict
|
||||
from operator import itemgetter
|
||||
except ImportError, message:
|
||||
except ImportError as message:
|
||||
print('Missing package(s) for %s: %s' % (SCRIPT_NAME, message))
|
||||
import_ok = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user