incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [1/3] git commit: [#6456] Specify default page for extractor
Date Fri, 19 Jul 2013 14:55:18 GMT
Updated Branches:
  refs/heads/master 5167a9d75 -> 838ecb304


[#6456] Specify default page for extractor

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@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/master
Commit: 838ecb304d54906b5aa6b95e057c689b9983f7df
Parents: ade1deb
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Fri Jul 19 14:54:43 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@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


Mime
View raw message