Rename a variable for clarity

This commit is contained in:
Sajith Sasidharan 2020-07-17 10:58:01 -04:00
parent 02d8bd061a
commit 2d19c383ca

View File

@ -1290,8 +1290,8 @@ class StatusElement(Element):
@renderer
def recent_operations(self, req, tag):
active = [self.get_op_state(op) for op in self._recent]
return SlotsSequenceElement(tag, active)
recent = [self.get_op_state(op) for op in self._recent]
return SlotsSequenceElement(tag, recent)
@staticmethod
def get_op_state(op):