projects
/
tools
/
python-jenkinsapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40724dd
)
Move docstring before code
author
Hugh Brown
<hbrown@amplify.com>
Thu, 10 Oct 2013 22:53:35 +0000
(18:53 -0400)
committer
Hugh Brown
<hbrown@amplify.com>
Thu, 10 Oct 2013 23:31:12 +0000
(19:31 -0400)
jenkinsapi/job.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/job.py
b/jenkinsapi/job.py
index
fe5a614
..
d1d0302
100644
(file)
--- 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",