This commit is contained in:
Dirk Müller
2024-05-16 11:18:42 +02:00
parent 28d5c6e606
commit b0ffb01c59
4 changed files with 4 additions and 4 deletions

View File

@@ -255,7 +255,7 @@ class DBRevision:
self._files.sort(key=lambda x: x["name"])
return self._files
def calc_delta(self, current_rev: Optional[DBRevision]):
def calc_delta(self, current_rev: DBRevision | None):
"""Calculate the list of files to download and to delete.
Param current_rev is the revision that's currently checked out.
If it's None, the repository is empty.