reverse in a single line

pull/3330/head
Tomer Shalev 2022-08-07 08:56:25 +03:00
parent 3c22ae161c
commit 0c3951b864
1 changed files with 1 additions and 2 deletions

View File

@ -305,8 +305,7 @@ class Actions(JailThread, Mapping):
""" """
if actions is None: if actions is None:
actions = self._actions actions = self._actions
revactions = actions.items() revactions = reversed(actions.items())
revactions.reverse()
for name, action in revactions: for name, action in revactions:
try: try:
action.stop() action.stop()