projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6402721
)
style: fix all_regions code and remove bogus region type
author
Nathan Binkert
<nate@binkert.org>
Sun, 17 Apr 2011 21:21:04 +0000
(14:21 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Sun, 17 Apr 2011 21:21:04 +0000
(14:21 -0700)
util/style.py
patch
|
blob
|
history
diff --git
a/util/style.py
b/util/style.py
index 0676ee1b515a368ce15c117a8efdd92fe3bdcabd..30d39aae8a298fc42b894ca49c8d9a380f94a54f 100644
(file)
--- 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 = Region
s(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