Loading src/common/tools/rest_conf/server/restconf_server/Callbacks.py +3 −3 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ class _Callback: @param old_data: Resource representation before retrieval, if applicable, otherwise `None` @returns boolean indicating whether additional callbacks should be executed, defaults to False ''' MSG = 'match={:s}, path={:s}, old_data={:s}' MSG = 'match={}, path={}, old_data={}' msg = MSG.format(match.groupdict(), path, old_data) raise NotImplementedError(msg) Loading @@ -66,7 +66,7 @@ class _Callback: @param new_data: Resource representation after change, if applicable, otherwise `None` @returns boolean indicating whether additional callbacks should be executed, defaults to False ''' MSG = 'match={:s}, path={:s}, old_data={:s}, new_data={:s}' MSG = 'match={}, path={}, old_data={}, new_data={}' msg = MSG.format(match.groupdict(), path, old_data, new_data) raise NotImplementedError(msg) Loading @@ -81,7 +81,7 @@ class _Callback: @param input_data: Input data, if applicable, otherwise `None` @returns Optional[Dict] containing output data, defaults to None ''' MSG = 'match={:s}, path={:s}, input_data={:s}' MSG = 'match={}, path={}, input_data={:s}' msg = MSG.format(match.groupdict(), path, input_data) raise NotImplementedError(msg) Loading Loading
src/common/tools/rest_conf/server/restconf_server/Callbacks.py +3 −3 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ class _Callback: @param old_data: Resource representation before retrieval, if applicable, otherwise `None` @returns boolean indicating whether additional callbacks should be executed, defaults to False ''' MSG = 'match={:s}, path={:s}, old_data={:s}' MSG = 'match={}, path={}, old_data={}' msg = MSG.format(match.groupdict(), path, old_data) raise NotImplementedError(msg) Loading @@ -66,7 +66,7 @@ class _Callback: @param new_data: Resource representation after change, if applicable, otherwise `None` @returns boolean indicating whether additional callbacks should be executed, defaults to False ''' MSG = 'match={:s}, path={:s}, old_data={:s}, new_data={:s}' MSG = 'match={}, path={}, old_data={}, new_data={}' msg = MSG.format(match.groupdict(), path, old_data, new_data) raise NotImplementedError(msg) Loading @@ -81,7 +81,7 @@ class _Callback: @param input_data: Input data, if applicable, otherwise `None` @returns Optional[Dict] containing output data, defaults to None ''' MSG = 'match={:s}, path={:s}, input_data={:s}' MSG = 'match={}, path={}, input_data={:s}' msg = MSG.format(match.groupdict(), path, input_data) raise NotImplementedError(msg) Loading