#NEWLINE# def prune_dump( sessionid ) : #NEWLINE# #INDENT# "\n    Prunes the dump session identified by the given session id.\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' xfs.prune_dump b74a3586-e52e-4a4a-8775-c3334fa8ea2c\n\n    " #NEWLINE# out = __salt__ [ 'cmd.run_all' ] ( 'xfsinvutil -s {0} -F' . format ( sessionid ) ) #NEWLINE# _verify_run ( out ) #NEWLINE# data = _xfs_prune_output ( out [ 'stdout' ] , sessionid ) #NEWLINE# if data : #NEWLINE# #INDENT# return sessionid #NEWLINE# #UNINDENT# raise CommandExecutionError ( 'Session UUID "{0}" was not found.' . format ( sessionid ) )