style: fix all_regions code and remove bogus region type
This commit is contained in:
parent
6402721d8e
commit
ddb0f1bca0
1 changed files with 1 additions and 5 deletions
|
@ -45,7 +45,7 @@ from m5.util import neg_inf, pos_inf, Region, Regions
|
||||||
import sort_includes
|
import sort_includes
|
||||||
from file_types import lang_type
|
from file_types import lang_type
|
||||||
|
|
||||||
all_regions = Region(neg_inf, pos_inf)
|
all_regions = Regions(Region(neg_inf, pos_inf))
|
||||||
|
|
||||||
tabsize = 8
|
tabsize = 8
|
||||||
lead = re.compile(r'^([ \t]+)')
|
lead = re.compile(r'^([ \t]+)')
|
||||||
|
@ -114,10 +114,6 @@ class StdioUI(UserInterface):
|
||||||
def write(self, string):
|
def write(self, string):
|
||||||
sys.stdout.write(string)
|
sys.stdout.write(string)
|
||||||
|
|
||||||
class Region(object):
|
|
||||||
def __init__(self, asdf):
|
|
||||||
self.regions = Foo
|
|
||||||
|
|
||||||
class Verifier(object):
|
class Verifier(object):
|
||||||
def __init__(self, ui, repo=None):
|
def __init__(self, ui, repo=None):
|
||||||
self.ui = ui
|
self.ui = ui
|
||||||
|
|
Loading…
Reference in a new issue