mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-06-03 00:49:46 +02:00
cleanup
This commit is contained in:
parent
911502ad43
commit
9d2e5148c4
|
@ -78,8 +78,7 @@ def _task_property_sorter(property1, property2):
|
||||||
return (v_1 > v_2) - (v_1 < v_2)
|
return (v_1 > v_2) - (v_1 < v_2)
|
||||||
|
|
||||||
|
|
||||||
@staticmethod
|
def _get_property_sort_index(name):
|
||||||
def _get_property_sort_index(name: str) -> int:
|
|
||||||
"""Return the index of the property in the sorter."""
|
"""Return the index of the property in the sorter."""
|
||||||
a_index = -1
|
a_index = -1
|
||||||
for i, v in enumerate(SORTER_TASKS):
|
for i, v in enumerate(SORTER_TASKS):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user