(self, sb)
Mounts sparsebundle for installation.
Mounts sparsebundle for installation.
Mounts sparsebundle for installation .
def MountSparseBundle(self, sb):
    """Mounts sparsebundle for installation."""
    cmd = ['hdiutil', 'attach', '-owners', 'on', sb]
    print 'Mounting sparsebundle %s' % sb
    (stdout, stderr, unused_rc) = RunProcess(cmd)
    if stderr:
      print 'Unable to mount sparsebundle %s: %s' % (sb, stderr)
    else:
      return stdout.split('\n')[-2].split('\t')[-1]
def MountSparseBundle ( self , sb ) : cmd = [ 'hdiutil' , 'attach' , '-owners' , 'on' , sb ] print 'Mounting sparsebundle %s' % sb ( stdout , stderr , unused_rc ) = RunProcess ( cmd ) if stderr : print 'Unable to mount sparsebundle %s: %s' % ( sb , stderr ) else : return stdout . split ( '\n' ) [ - 2 ] . split ( '\t' ) [ - 1 ]