vorta/src/vorta/borg
TW 675010e401
Random cleanups by @ThomasWaldmann (#1879)
* fix PEP8 E721

do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`

* remove redundant parentheses

* fix SiteWorker.run for empty job queue

local variable job is not assigned if queue was empty
when calling .run(), but it is used in exception handler.

* remove unreachable code in parse_diff_lines

* bug fix for unreachable code in is_worker_running

the code intended to check if *any* worker is running for
any site was *unreachable*.

this caused false negative results for site=None.

* check_failed_response: remove outdated part of docstring

* pull request template: fix relative path to LICENSE.txt

* fix typos

* use logger.warning, .warn is deprecated
2024-01-09 08:06:48 +00:00
..
__init__.py Refactor BorgThread into new class to support different commands. 2018-11-03 16:55:38 +08:00
_compatibility.py Revert "Added --content-only flag for borg 1.2.4 in diff view" 2023-04-01 20:13:31 +02:00
borg_job.py Assign names to repos. By @diivi (#1665) 2023-06-24 20:57:46 +01:00
break_lock.py feat: add profile name to log messages (#1637) 2023-03-22 12:16:46 +01:00
check.py Add a dev mode that allows for local storing of config files and logs (#1682) 2023-05-30 10:43:20 +00:00
compact.py Disable compact button for older borg versions. By @diivi (#1727) 2023-06-23 20:20:23 +01:00
create.py Exclude GUI. By @diivi (#1846) 2023-11-24 21:19:28 +00:00
delete.py Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00
diff.py Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00
extract.py Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00
info_archive.py Inline archive renaming. By @diivi (#1734) 2023-08-15 12:38:51 +01:00
info_repo.py Assign names to repos. By @diivi (#1665) 2023-06-24 20:57:46 +01:00
init.py Assign names to repos. By @diivi (#1665) 2023-06-24 20:57:46 +01:00
jobs_manager.py Random cleanups by @ThomasWaldmann (#1879) 2024-01-09 08:06:48 +00:00
list_archive.py Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00
list_repo.py Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00
mount.py Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00
prune.py Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00
rename.py Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00
umount.py Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00
version.py Run pre-commit (with newly added ruff) on code base. 2023-05-01 10:28:11 +02:00