You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pd...@apache.org on 2014/09/21 15:39:44 UTC

[2/2] git commit: jira.py: fix loop issue

jira.py: fix loop issue


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/commit/70ec1a4c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/tree/70ec1a4c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/diff/70ec1a4c

Branch: refs/heads/4.4
Commit: 70ec1a4cf35bb5caff31428bee6d1edf4811ea3e
Parents: f958ef0
Author: Pierre-Luc Dion <pd...@apache.org>
Authored: Sat Sep 20 11:29:48 2014 -0400
Committer: Pierre-Luc Dion <pd...@apache.org>
Committed: Sun Sep 21 09:35:38 2014 -0400

----------------------------------------------------------------------
 utils/jira.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/70ec1a4c/utils/jira.py
----------------------------------------------------------------------
diff --git a/utils/jira.py b/utils/jira.py
index e843cba..1f668df 100755
--- a/utils/jira.py
+++ b/utils/jira.py
@@ -55,7 +55,7 @@ n, m = divmod(count, 50)
 
 for i in range(n+1):
 
-    issueslist=get_all['issues']
+    issueslist=requests.get(rlist+'&startAt='+str(i*50), auth=(arguments['USERNAME'],arguments['PASSWORD'])).json()['issues']
 
     for issue in issueslist:
         '''assignee=issue['fields']['assignee']['displayName']