From c558da07b65bebdc6940be72348d126fa1eccda6 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Tue, 10 Jun 2014 17:04:15 -0700 Subject: Upgrade hacking version and fix some of the issues Update hacking to the new requirements version and fix about half of the new reported issues. The other hacking issues are for now ignored until fixed by adjusting our tox.ini file. This commit fixes the following new hacking errors: H405 - multi line docstring summary not separated with an empty line E265 - block comment should start with '# ' F402 - import 'endpoint' from line 21 shadowed by loop variable Change-Id: I6bae61591fb988cc17fa79e21cb5f1508d22781c --- taskflow/flow.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'taskflow/flow.py') diff --git a/taskflow/flow.py b/taskflow/flow.py index 0fb9433..5533ed4 100644 --- a/taskflow/flow.py +++ b/taskflow/flow.py @@ -55,8 +55,11 @@ class Flow(object): @property def retry(self): - """A retry object that will affect control how (and if) this flow - retries while execution is underway. + """The associated flow retry controller. + + This retry controller object will affect & control how (and if) this + flow and its contained components retry when execution is underway and + a failure occurs. """ return self._retry -- cgit v1.2.1