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:56:33 UTC

[3/6] 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/42bfa9c5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/tree/42bfa9c5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/diff/42bfa9c5

Branch: refs/heads/4.4
Commit: 42bfa9c571b02a6583b8f8fa8fe18097deee5377
Parents: f36e300
Author: Pierre-Luc Dion <pd...@apache.org>
Authored: Sat Sep 20 11:29:48 2014 -0400
Committer: Pierre-Luc Dion <pd...@apache.org>
Committed: Sat Sep 20 11:29:48 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/42bfa9c5/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']