mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-22 06:01:54 +00:00
coala: ignore some stuff it warns about
This commit is contained in:
parent
d5152d8f2b
commit
36cbc2d18f
2 changed files with 2 additions and 2 deletions
|
@ -1619,7 +1619,7 @@ def list_config(config):
|
|||
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 a new issue