cpu: Apply the ARM TLB rework to the O3 checker CPU.
[gem5.git] / src / unittest / genini.py
index 5a4f3454b217b5bcad475ee22d23f5f5757a5742..ea2763a340087a5c12a4d9aca6dfa7d68f920b58 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python2.7
 # Copyright (c) 2005 The Regents of The University of Michigan
 # All rights reserved.
 #
@@ -70,7 +70,7 @@ for path in pathlist:
 for arg in args:
     m5execfile(arg, globals())
 
-if globals().has_key('root') and isinstance(root, Root):
+if 'root' in globals() and isinstance(root, Root):
     instantiate(root)
 else:
     print("Instantiation skipped: no root object found.")