summarylogtreecommitdiffstats
path: root/0001-fix-compatibility-with-py3-when-installed-as-system-.patch
blob: 02c993488b6bda304ac28696248d166f6192e42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From d21363d3e37a25c41dbb5c3441bdf6b201d52477 Mon Sep 17 00:00:00 2001
From: Melvin Vermeeren <mail@mel.vin>
Date: Fri, 4 May 2018 19:27:16 +0200
Subject: [PATCH 1/2] fix compatibility with py3 when installed as system
 module

---
 sphinx_multibuild/__init__.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sphinx_multibuild/__init__.py b/sphinx_multibuild/__init__.py
index fc0553f..6617ae0 100644
--- a/sphinx_multibuild/__init__.py
+++ b/sphinx_multibuild/__init__.py
@@ -1,3 +1,4 @@
 #!/bin/env python
 # -*- coding: utf-8 -*-
-from sphinx_multibuild import SphinxMultiBuilder
+from __future__ import absolute_import
+from .sphinx_multibuild import SphinxMultiBuilder
-- 
2.17.0