mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-06 17:41:44 +00:00
Rename a variable for clarity
This commit is contained in:
parent
02d8bd061a
commit
2d19c383ca
@ -1290,8 +1290,8 @@ class StatusElement(Element):
|
|||||||
|
|
||||||
@renderer
|
@renderer
|
||||||
def recent_operations(self, req, tag):
|
def recent_operations(self, req, tag):
|
||||||
active = [self.get_op_state(op) for op in self._recent]
|
recent = [self.get_op_state(op) for op in self._recent]
|
||||||
return SlotsSequenceElement(tag, active)
|
return SlotsSequenceElement(tag, recent)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_op_state(op):
|
def get_op_state(op):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user