From 2ff517d0493f9ce4839ffb3718a8df1e32b519ed Mon Sep 17 00:00:00 2001 From: "Jay S. Bryant" Date: Fri, 14 Jul 2017 15:23:35 -0500 Subject: [PATCH] [DOC BLD FIX] Correct :returns: in db/api.py The docstring for conditional_update had ":returns" instead of ":returns:" which was causing a Sphinx warning to be generated and caused the documentation to be improperly rendered. This patch corrects the formatting. Change-Id: I7388904593572cf61194ca1e7cabf5e7a461f3b0 --- cinder/db/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/db/api.py b/cinder/db/api.py index 67dfcf62371..a3426380be4 100644 --- a/cinder/db/api.py +++ b/cinder/db/api.py @@ -1858,7 +1858,7 @@ def conditional_update(context, model, values, expected_values, filters=(), equivalent to read_deleted. :param project_only: Should the query be limited to context's project. :param order: Specific order of fields in which to update the values - :returns number of db rows that were updated. + :returns: Number of db rows that were updated. """ return IMPL.conditional_update(context, model, values, expected_values, filters, include_deleted, project_only,