@task()
def remove_dir(path):
 log.info('Removing %s', path)
 shutil.rmtree(path)

@ task ( ) def remove_dir ( path ) : log . info ( 'Removing %s' , path ) shutil . rmtree ( path )
recursively remove a directory .