summaryrefslogtreecommitdiff
path: root/doc/docgen.py
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-01-03 19:35:39 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-01-03 19:35:39 +0100
commit0a7291bf7beff6ad172f68cb9a4a2f32e446c6bb (patch)
treec7f7486362176641b68998a73604de0303a73e72 /doc/docgen.py
parentdaea95866c20583545bcfd1c7946b16390d6dc59 (diff)
downloadweechat-0a7291bf7beff6ad172f68cb9a4a2f32e446c6bb.zip
doc: make script docgen.py compatible with Python 3.x
Diffstat (limited to 'doc/docgen.py')
-rw-r--r--doc/docgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/docgen.py b/doc/docgen.py
index 5e797f583..4ffc07574 100644
--- a/doc/docgen.py
+++ b/doc/docgen.py
@@ -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