def save(self):
    """Save and write out the registry"""
    assert self._initialized, "Registry not yet initialized"

    self._write(self._reg_path)
    LOG.info('=== Saved registry at %s' % (self._reg_path,))
dataset/ETHPy150Open cloudera/hue/tools/app_reg/registry.py/AppRegistry.save/original