diff --git a/src/python/m5/__init__.py b/src/python/m5/__init__.py index dc6c5a923..9df3f4bfe 100644 --- a/src/python/m5/__init__.py +++ b/src/python/m5/__init__.py @@ -32,7 +32,7 @@ try: # Try to import something that's generated by swig - import internal + import internal.core # Try to grab something from it in case demandimport is being used internal.core.curTick 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