Run of lintian-fixes for borgbackup

Try this locally (using the lintian-brush package):

debcheckout borgbackup
cd borgbackup
lintian-brush
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
    os.makedirs(cache_dir)
  File "/usr/lib/python3.7/os.py", line 211, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/usr/lib/python3.7/os.py", line 211, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/usr/lib/python3.7/os.py", line 221, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/janitor'

Platform: Linux charis 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64
Linux: debian bullseye/sid 
Borg: 1.1.10  Python: CPython 3.7.4 msgpack: 0.5.6
PID: 16027  CWD: /tmp/autopkgtest.otTLGQ/autopkgtest_tmp
sys.argv: ['/usr/bin/borg', 'init', '--encryption', 'none', '/tmp/autopkgtest.otTLGQ/autopkgtest_tmp/borgrepo']
SSH_ORIGINAL_COMMAND: None

Summary

Full worker log Full build log