[timeshift] refactoring: using tuple instead of list

This commit is contained in:
Vinicius Moreira
2022-03-30 14:08:20 -03:00
parent cd32286cc3
commit 6d23916177

View File

@@ -13,7 +13,7 @@ def is_available() -> bool:
def delete_all_snapshots(root_password: Optional[str]) -> SimpleProcess:
return SimpleProcess(['timeshift', '--delete-all', '--scripted'], root_password=root_password)
return SimpleProcess(('timeshift', '--delete-all', '--scripted'), root_password=root_password)
def delete(snapshot_name: str, root_password: Optional[str]) -> SimpleProcess: