Repository.create crashes on empty directory
Bug #1560139 reported by
Jedrzej Nowak
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_
> 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.