chiark / gitweb /
doxygen: minor cleanup.
authorVladimír Vondruš <mosra@centrum.cz>
Sat, 12 Jan 2019 14:59:37 +0000 (15:59 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Sat, 12 Jan 2019 14:59:37 +0000 (15:59 +0100)
doxygen/dox2html5.py

index 6f5f5885d03754e00ea0ac123245ffda7484f45d..e8028a820fbb15d51fdebcc6530dfe1e43bb6748 100755 (executable)
@@ -42,7 +42,6 @@ import logging
 from enum import Flag
 from types import SimpleNamespace as Empty
 from typing import Tuple, Dict, Any, List
-from urllib.parse import urljoin
 
 from jinja2 import Environment, FileSystemLoader
 
@@ -3410,7 +3409,7 @@ def run(doxyfile, templates=default_templates, wildcard=default_wildcard, index_
         if urllib.parse.urlparse(path).netloc: return path
         return os.path.basename(path)
     env.filters['basename_or_url'] = basename_or_url
-    env.filters['urljoin'] = urljoin
+    env.filters['urljoin'] = urllib.parse.urljoin
 
     # Do a pre-pass and gather:
     # - brief descriptions of all classes, namespaces, dirs and files because