From ced116ca86444adaef762ad586eb4dc882fd9e0a Mon Sep 17 00:00:00 2001 From: Miroslav Suchý Date: Aug 27 2018 09:34:02 +0000 Subject: doc: make sphinx happy sphinx complains about indentantion: /home/msuchy/projects/copr/backend/backend/frontend.py:docstring of backend.frontend.FrontendClient.starting_build:3: WARNING: Unexpected indentation. Lets make it happy and rework it. --- diff --git a/backend/backend/frontend.py b/backend/backend/frontend.py index 289bc99..e8ec402 100644 --- a/backend/backend/frontend.py +++ b/backend/backend/frontend.py @@ -61,8 +61,8 @@ class FrontendClient(object): def starting_build(self, data): """ Announce to the frontend that a build is starting. - Return: True if the build can start - False if the build can not start (can be cancelled or deleted) + + :return: True if the build can start or False if the build can not start (can be cancelled or deleted). """ response = self._post_to_frontend_repeatedly(data, "starting_build") if "can_start" not in response.json():