def remove_logical_volumes(*paths):
 for path in paths:
  clear_logical_volume(path)
 if paths:
  lvremove = (('lvremove', '-f') + paths)
  execute(attempts=3, run_as_root=True, *lvremove)

def remove_logical_volumes ( * paths ) : for path in paths : clear_logical_volume ( path ) if paths : lvremove = ( ( 'lvremove' , '-f' ) + paths ) execute ( attempts = 3 , run_as_root = True , * lvremove )
remove one or more logical volume .