forked from importers/git-importer
cleanups
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user