(self)
ASR image scanning.
ASR image scanning.
ASR image scanning .
def ImageScan(self):
    """ASR image scanning."""
    command = ["asr", "imagescan", "--source", self.imagepath]
    stdout, stderr, returncode = gmacpyutil.RunProcess(command)
    if returncode is not 0:
      raise MacDiskError("Cannot imagescan %s, %s" % (self.imagepath,
                                                      stderr))
    else:
      return stdout
def ImageScan ( self ) : command = [ "asr" , "imagescan" , "--source" , self . imagepath ] stdout , stderr , returncode = gmacpyutil . RunProcess ( command ) if returncode is not 0 : raise MacDiskError ( "Cannot imagescan %s, %s" % ( self . imagepath , stderr ) ) else : return stdout