'Remove temporary directories.'

def cleanup(self):

    if self.themedir_created:
        try:
            shutil.rmtree(self.themedir)
        except Exception:
            pass
    if self.base:
        self.base.cleanup()
