shithub: aubio

Download patch

ref: a49a3f066e686b97eadaeb0d2e6aa8eb2d8d8a21
parent: 362581e2a094707a184471104e8ef5e7e3316962
author: Nils Philippsen <nils@tiptoe.de>
date: Wed Nov 25 19:02:26 EST 2015

Python 3: use explicit relative import

--- a/python/lib/generator.py
+++ b/python/lib/generator.py
@@ -3,7 +3,7 @@
 """ This file generates a c file from a list of cpp prototypes. """
 
 import os, sys, shutil
-from gen_pyobject import write_msg, gen_new_init, gen_do, gen_members, gen_methods, gen_finish
+from .gen_pyobject import write_msg, gen_new_init, gen_do, gen_members, gen_methods, gen_finish
 
 def get_cpp_objects():