From fe5212f9328c10939bbd062c7c57b4c299376803 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Wed, 18 Sep 2013 08:46:31 -0400 Subject: swig: Fix issue with circular import in 2.0.9/2.0.10 This patch fixes an issue which prevented gem5 from running when built using swig 2.0.9 and 2.0.10. The generated event.py tried to import m5.internal which in turn relied on importing event. This patch seems to fix the problem, and so far has not caused any other issues. --- src/python/m5/internal/__init__.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/python/m5/internal') diff --git a/src/python/m5/internal/__init__.py b/src/python/m5/internal/__init__.py index 30090549a..b795f201f 100644 --- a/src/python/m5/internal/__init__.py +++ b/src/python/m5/internal/__init__.py @@ -25,10 +25,3 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # Authors: Nathan Binkert - -import core -import debug -import event -import stats -import trace -from drain import DrainManager, Drainable -- cgit v1.2.3