mirror of https://github.com/borgbackup/borg.git
coala: ignore some stuff it warns about
This commit is contained in:
parent
d5152d8f2b
commit
36cbc2d18f
|
@ -1619,7 +1619,7 @@ class Archiver:
|
|||
validate = cache_validate
|
||||
else:
|
||||
config = repository.config
|
||||
save = lambda: repository.save_config(repository.path, repository.config)
|
||||
save = lambda: repository.save_config(repository.path, repository.config) # noqa
|
||||
validate = repo_validate
|
||||
|
||||
if args.delete:
|
||||
|
|
|
@ -75,7 +75,7 @@ def sysinfo():
|
|||
uname = None
|
||||
if sys.platform.startswith('linux'):
|
||||
try:
|
||||
linux_distribution = platform.linux_distribution()
|
||||
linux_distribution = platform.linux_distribution() # noqa
|
||||
except:
|
||||
# platform.linux_distribution() is deprecated since py 3.5 and removed in 3.7.
|
||||
linux_distribution = ('Unknown Linux', '', '')
|
||||
|
|
Loading…
Reference in New Issue