incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [28/50] git commit: [#6461] fix pyflakes issues
Date Mon, 12 Aug 2013 16:41:13 GMT
[#6461] fix pyflakes issues


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/e3663fb9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/e3663fb9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/e3663fb9

Branch: refs/heads/cj/6422
Commit: e3663fb938d6c63d82dac151b429e90e1effb500
Parents: fb06265
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Tue Aug 6 22:11:15 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Tue Aug 6 22:11:15 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/google/tracker.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/e3663fb9/ForgeImporters/forgeimporters/google/tracker.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/google/tracker.py b/ForgeImporters/forgeimporters/google/tracker.py
index 4bc602c..4d37a16 100644
--- a/ForgeImporters/forgeimporters/google/tracker.py
+++ b/ForgeImporters/forgeimporters/google/tracker.py
@@ -20,6 +20,7 @@ from datetime import datetime
 
 from pylons import tmpl_context as c
 #import gdata
+gdata = None
 from ming.orm import session
 
 from allura.lib import helpers as h
@@ -156,8 +157,8 @@ class GDataAPIExtractor(object):
         client = gdata.projecthosting.client.ProjectHostingClient()
         while True:
             query = gdata.projecthosting.client.Query(start_index=start, max_results=limit)
-            issues = client.get_comments(self.project_name, query=query).entry
-            if len(issues) <= 0:
+            comments = client.get_comments(self.project_name, query=query).entry
+            if len(comments) <= 0:
                 return
             for comment in comments:
                 yield GDataAPIComment(comment)


Mime
View raw message