issue with repos that have checked in empty directories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
reno |
New
|
Low
|
Unassigned |
Bug Description
2017-10-26 23:53:46.592153 | ubuntu-xenial | + echo 'Generating email body in /home/zuul/
2017-10-26 23:53:46.592224 | ubuntu-xenial | Generating email body in /home/zuul/
2017-10-26 23:53:46.592371 | ubuntu-xenial | + release-notes --email --email-tags '[openstackansi
2017-10-26 23:53:46.592438 | ubuntu-xenial | + tee /home/zuul/
2017-10-26 23:53:47.253940 | ubuntu-xenial | WARNING: No bug url found in '/home/
2017-10-26 23:53:47.254038 | ubuntu-xenial | WARNING: No source url found in '/home/
2017-10-26 23:53:47.255368 | ubuntu-xenial | Traceback (most recent call last):
2017-10-26 23:53:47.255447 | ubuntu-xenial | File "/home/
2017-10-26 23:53:47.255477 | ubuntu-xenial | sys.exit(main())
2017-10-26 23:53:47.255535 | ubuntu-xenial | File "/home/
2017-10-26 23:53:47.255577 | ubuntu-xenial | publishing_
2017-10-26 23:53:47.255639 | ubuntu-xenial | File "/home/
2017-10-26 23:53:47.255669 | ubuntu-xenial | ldr = loader.
2017-10-26 23:53:47.255732 | ubuntu-xenial | File "/home/
2017-10-26 23:53:47.255758 | ubuntu-xenial | self._load_data()
2017-10-26 23:53:47.255822 | ubuntu-xenial | File "/home/
2017-10-26 23:53:47.255858 | ubuntu-xenial | self._scanner_
2017-10-26 23:53:47.255927 | ubuntu-xenial | File "/home/
2017-10-26 23:53:47.255968 | ubuntu-xenial | for fname in d_index.
2017-10-26 23:53:47.256037 | ubuntu-xenial | File "/home/
2017-10-26 23:53:47.256074 | ubuntu-xenial | blob = blob_from_
2017-10-26 23:53:47.256144 | ubuntu-xenial | File "/home/
2017-10-26 23:53:47.256173 | ubuntu-xenial | with open(fs_path, 'rb') as f:
2017-10-26 23:53:47.256234 | ubuntu-xenial | IsADirectoryError: [Errno 21] Is a directory: b'/home/
2017-10-26 23:53:47.293618 | ubuntu-xenial | + echo
I didn't even know Git would let you do this. In any case, we should probably be catching that exception and ignoring it.