(self)
Load the shared preferences file from the device.

    A empty xml document, which may be modified and saved on |commit|, is
    created if the file does not already exist.
Load the shared preferences file from the device.
Load the shared preferences file from the device .
def Load(self):
    """Load the shared preferences file from the device.

    A empty xml document, which may be modified and saved on |commit|, is
    created if the file does not already exist.
    """
    if self._device.FileExists(self.path):
      self._xml = ElementTree.fromstring(
          self._device.ReadFile(self.path, as_root=True))
      assert self._xml.tag == 'map'
    else:
      self._xml = None
    self._changed = False
def Load ( self ) : if self . _device . FileExists ( self . path ) : self . _xml = ElementTree . fromstring ( self . _device . ReadFile ( self . path , as_root = True ) ) assert self . _xml . tag == 'map' else : self . _xml = None self . _changed = False