sethmlarson / virtualbox-python

Complete implementation of VirtualBox's COM API with a Pythonic interface.
https://pypi.org/project/virtualbox
Apache License 2.0
354 stars 75 forks source link

remove() in library_ext throws OSError #23

Closed danikdanik closed 10 years ago

danikdanik commented 10 years ago

When delete_config(media) is being executed - the settings_dir directory is being deleted. Then, the remove() method tries to delete the settings_dir by calling to shutil.rmtree(settings_dir). It fails with an OSError, as it doesn't exist anymore.