From: Nathan Binkert Date: Sun, 17 Apr 2011 21:21:04 +0000 (-0700) Subject: style: fix all_regions code and remove bogus region type X-Git-Tag: stable_2012_02_02~386 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ddb0f1bca015147cd1315f4abfa02c908e77da7f;p=gem5.git style: fix all_regions code and remove bogus region type --- diff --git a/util/style.py b/util/style.py index 0676ee1b5..30d39aae8 100644 --- a/util/style.py +++ b/util/style.py @@ -45,7 +45,7 @@ from m5.util import neg_inf, pos_inf, Region, Regions import sort_includes from file_types import lang_type -all_regions = Region(neg_inf, pos_inf) +all_regions = Regions(Region(neg_inf, pos_inf)) tabsize = 8 lead = re.compile(r'^([ \t]+)') @@ -114,10 +114,6 @@ class StdioUI(UserInterface): def write(self, string): sys.stdout.write(string) -class Region(object): - def __init__(self, asdf): - self.regions = Foo - class Verifier(object): def __init__(self, ui, repo=None): self.ui = ui