From: Hugh Brown Date: Thu, 10 Oct 2013 23:08:46 +0000 (-0400) Subject: Use good variable name X-Git-Tag: v0.2.23~92^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a8e84d55a80de177ac8caca6e3765cb81a19107;p=tools%2Fpython-jenkinsapi.git Use good variable name --- diff --git a/jenkinsapi/api.py b/jenkinsapi/api.py index ee80b98..53efb77 100644 --- a/jenkinsapi/api.py +++ b/jenkinsapi/api.py @@ -182,8 +182,8 @@ def search_artifact_by_regexp(jenkinsurl, jobid, artifactRegExp): @param jobid: The name of the job we are to search through @param artifactRegExp: A compiled regular expression object (not a re-string) ''' - J = Jenkins(jenkinsurl) - j = J[jobid] + job = Jenkins(jenkinsurl) + j = job[jobid] build_ids = j.get_build_ids()