tools/spec: update whitespacing to conform to PEP8

This commit is contained in:
Danny Robson 2019-01-05 12:04:31 +11:00
parent fa2eed7e03
commit d13f684853

View File

@ -141,7 +141,6 @@ class unscoped(type):
def declare(self): def declare(self):
return "\n".join(t.declare() for t in self.values) return "\n".join(t.declare() for t in self.values)
def define(self,reg): def define(self,reg):
return "\n".join(t.define(reg.types) for t in self.values) return "\n".join(t.define(reg.types) for t in self.values)
@ -197,7 +196,7 @@ class bitmask(type):
} }
def define(self, reg: registry): def define(self, reg: registry):
return self.declare(); return self.declare()
if not self.requires: if not self.requires:
return self.declare() return self.declare()