changeset 29168:8f2805ce93d9

py3: make doc/docchecker use absolute_import
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 13 May 2016 02:40:39 +0530
parents 4f76c0c490b3
children c9ab5a0bc7c5
files doc/docchecker
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/docchecker	Fri May 13 02:23:45 2016 +0530
+++ b/doc/docchecker	Fri May 13 02:40:39 2016 +0530
@@ -6,8 +6,11 @@
 #
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
+
+from __future__ import absolute_import
+
+import re
 import sys
-import re
 
 leadingline = re.compile(r'(^\s*)(\S.*)$')