#65 create-filelist bombs if --checksum-file matches a directory
Opened 6 years ago by tibbs. Modified 6 years ago

If a name passed via -C/--checksum-file matches a directory, create-filelist will backtrace at checksum generation:

[Checksums SHA1]
Traceback (most recent call last):
  File "./create-filelist", line 331, in <module>
    main()
  File "./create-filelist", line 325, in main
    print('{0}\t{1}'.format(sha1(f), f), file=opts.timelist)
  File "./create-filelist", line 102, in sha1
    fh = open(fname, 'rb')
IOError: [Errno 21] Is a directory: 'a/2'

Metadata Update from @tibbs:
- Issue tagged with: bug, immediate

6 years ago

Login to comment on this ticket.

Metadata