[pyferret] 80/110: Fix for python2 loading

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jul 28 08:42:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository pyferret.

commit b16da7469d5fbcd146d4c010c1215412a8d1cc9f
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sun Aug 14 10:08:39 2016 +0100

    Fix for python2 loading
---
 debian/patches/python3.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/python3.patch b/debian/patches/python3.patch
index fbadbbf..620a127 100644
--- a/debian/patches/python3.patch
+++ b/debian/patches/python3.patch
@@ -477,7 +477,7 @@ Index: pyferret-7.0.0/pyfermod/__init__.py
      os.environ['FER_LIBS'] = '/usr/lib/ferret-vis/efmem:/usr/lib/ferret-vis/external_functions'
  
 -import libpyferret
-+from . import libpyferret
++from pyferret import libpyferret
  # also import everything (not starting with an underscore) from libpyferret 
  # so constants in that module are seen as part of this module
 -from libpyferret import *

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyferret.git



More information about the debian-science-commits mailing list