From ddb0f1bca015147cd1315f4abfa02c908e77da7f Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sun, 17 Apr 2011 14:21:04 -0700 Subject: [PATCH] style: fix all_regions code and remove bogus region type --- util/style.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.30.2