pit/issues/libpit/0018bs4.rst

13 lines
460 B
ReStructuredText
Raw Normal View History

FileProject.delete() does not handle sub-projects correctly.
============================================================
FileProject.delete() deletes the project directory if the directory is empty,
but fails to do so if the directory is not empty.
Initial Recommendation
----------------------
Loop through the issues and delete the files, loop through the projects and
call Project.delete(). Alternatively, use File.deleteDir() rather than
File.delete()