formal clean-up: add lines between methods, remove excess spaces
This commit is contained in:
parent
bd6c0167fd
commit
bdb58534df
1 changed files with 4 additions and 3 deletions
|
@ -51,12 +51,13 @@ class Row(BaseRow):
|
||||||
return getattr(obj.context, attr)
|
return getattr(obj.context, attr)
|
||||||
|
|
||||||
def getGroupFields(self):
|
def getGroupFields(self):
|
||||||
return [self.getRawValue(f.name) for f in
|
return [self.getRawValue(f.name) for f in
|
||||||
self.parent.context.fields if 'group' in f.executionSteps]
|
self.parent.context.fields if 'group' in f.executionSteps]
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def displayedColumns(self):
|
def displayedColumns(self):
|
||||||
return self.parent.context.getActiveOutputFields()
|
return self.parent.context.getActiveOutputFields()
|
||||||
|
|
||||||
def useRowProperty(self, attr):
|
def useRowProperty(self, attr):
|
||||||
return getattr(self, attr)
|
return getattr(self, attr)
|
||||||
|
|
||||||
|
@ -65,7 +66,7 @@ class GroupHeaderRow(BaseRow):
|
||||||
|
|
||||||
def getRawValue(self, attr):
|
def getRawValue(self, attr):
|
||||||
return self.data.get(attr, u'')
|
return self.data.get(attr, u'')
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def displayedColumns(self):
|
def displayedColumns(self):
|
||||||
fields = self.parent.context.getActiveOutputFields()
|
fields = self.parent.context.getActiveOutputFields()
|
||||||
|
|
Loading…
Add table
Reference in a new issue