diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-01-03 19:35:39 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-01-03 19:35:39 +0100 |
commit | 0a7291bf7beff6ad172f68cb9a4a2f32e446c6bb (patch) | |
tree | c7f7486362176641b68998a73604de0303a73e72 /doc/docgen.py | |
parent | daea95866c20583545bcfd1c7946b16390d6dc59 (diff) | |
download | weechat-0a7291bf7beff6ad172f68cb9a4a2f32e446c6bb.zip |
doc: make script docgen.py compatible with Python 3.x
Diffstat (limited to 'doc/docgen.py')
-rw-r--r-- | doc/docgen.py | 2 |
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 |