summaryrefslogtreecommitdiff
path: root/util/style.py
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2011-04-17 14:21:04 -0700
committerNathan Binkert <nate@binkert.org>2011-04-17 14:21:04 -0700
commitddb0f1bca015147cd1315f4abfa02c908e77da7f (patch)
treea1f707964e2ca35c7c268cefdc64a80833f1007b /util/style.py
parent6402721d8e7a8ad954eab049bf4a49886315b18e (diff)
downloadgem5-ddb0f1bca015147cd1315f4abfa02c908e77da7f.tar.xz
style: fix all_regions code and remove bogus region type
Diffstat (limited to 'util/style.py')
-rw-r--r--util/style.py6
1 files changed, 1 insertions, 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