Repository.create crashes on empty directory

Bug #1560139 reported by Jedrzej Nowak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solar
New
Undecided
Unassigned

Bug Description

    def _add_contents(self, source, overwrite=False):
        cnts = self._list_source_contents(source)
> for res_type, single_name, single_path in cnts:
E TypeError: 'NoneType' object is not iterable

It should not crash on empty dir.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.