def set(self, f, key, value): property_file = self.server.property_files[f] property_file[key] = value utils.write_property_file(property_file) return self.server.SUCCESS
def write_property_file(self, path, values): """Writes a property file at given path. Args: path (str): Path to the file to write. values (Dict): Dictionary of key/value pairs to write. """ utils.write_property_file(self._executor, path, values)