diff options
Diffstat (limited to '0001-fix-compatibility-with-py3-when-installed-as-system-.patch')
-rw-r--r-- | 0001-fix-compatibility-with-py3-when-installed-as-system-.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/0001-fix-compatibility-with-py3-when-installed-as-system-.patch b/0001-fix-compatibility-with-py3-when-installed-as-system-.patch new file mode 100644 index 000000000000..02c993488b6b --- /dev/null +++ b/0001-fix-compatibility-with-py3-when-installed-as-system-.patch @@ -0,0 +1,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 + |