You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/07/19 21:21:31 UTC

[2/7] git commit: [#6456] Specify default page for extractor

[#6456] Specify default page for extractor

Signed-off-by: Tim Van Steenburgh <tv...@gmail.com>


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

Branch: refs/heads/cj/6456
Commit: 838ecb304d54906b5aa6b95e057c689b9983f7df
Parents: ade1deb
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Fri Jul 19 14:54:43 2013 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Fri Jul 19 14:54:50 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/google/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/838ecb30/ForgeImporters/forgeimporters/google/__init__.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/google/__init__.py b/ForgeImporters/forgeimporters/google/__init__.py
index 0e5c894..fb605f1 100644
--- a/ForgeImporters/forgeimporters/google/__init__.py
+++ b/ForgeImporters/forgeimporters/google/__init__.py
@@ -43,7 +43,7 @@ class GoogleCodeProjectExtractor(object):
             'Other Open Source': 'Other/Proprietary License',
         })
 
-    def __init__(self, project):
+    def __init__(self, project, page='project_info'):
         gc_project_name = project.get_tool_data('google-code', 'project_name')
         page = urllib2.urlopen(PAGE_MAP[page] % urllib.quote(gc_project_name))
         self.project = project