From af262075aca47c4fd57d9f2b88e26fd4e056c825 Mon Sep 17 00:00:00 2001 From: Hugh Brown Date: Thu, 10 Oct 2013 18:53:35 -0400 Subject: [PATCH] Move docstring before code --- jenkinsapi/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkinsapi/job.py b/jenkinsapi/job.py index fe5a614..d1d0302 100644 --- a/jenkinsapi/job.py +++ b/jenkinsapi/job.py @@ -193,8 +193,8 @@ class Job(JenkinsBase, MutableJenkinsThing): return invocation def _buildid_for_type(self, buildtype): - self.poll() """Gets a buildid for a given type of build""" + self.poll() KNOWNBUILDTYPES = [ "lastSuccessfulBuild", "lastBuild", -- 2.7.4