From: David Johansen Date: Wed, 5 Feb 2014 06:54:45 +0000 (-0800) Subject: Addressing issue/221 - changing depth=1 X-Git-Tag: v0.2.23~42^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dee76ad7000d97c41198fcfeab997a0fc6064639;p=tools%2Fpython-jenkinsapi.git Addressing issue/221 - changing depth=1 - only thing that depth=2 adds is the "fingerprint":[] item, which turns a 600KB request to a 180M request on a large repo. --- diff --git a/jenkinsapi/build.py b/jenkinsapi/build.py index acf023c..7405c28 100644 --- a/jenkinsapi/build.py +++ b/jenkinsapi/build.py @@ -42,7 +42,7 @@ class Build(JenkinsBase): def _poll(self): #For build's we need more information for downstream and upstream builds #so we override the poll to get at the extra data for build objects - url = self.python_api_url(self.baseurl) + '?depth=2' + url = self.python_api_url(self.baseurl) + '?depth=1' return self.get_data(url) def __str__(self):