def revdep_rebuild(lib=None):
 cmd = 'revdep-rebuild -i --quiet --no-progress'
 if (lib is not None):
  cmd += ' --library={0}'.format(lib)
 return (__salt__['cmd.retcode'](cmd, python_shell=False) == 0)

def revdep_rebuild ( lib = None ) : cmd = 'revdep-rebuild -i --quiet --no-progress' if ( lib is not None ) : cmd += ' --library={0}' . format ( lib ) return ( __salt__ [ 'cmd.retcode' ] ( cmd , python_shell = False ) == 0 )
fix up broken reverse dependencies lib search for reverse dependencies for a particular library rather than every library on the system .