Skip to content

Commit

Permalink
comment on desired sourceforge handler change
Browse files Browse the repository at this point in the history
  • Loading branch information
pydanny committed Mar 14, 2011
1 parent 619214f commit 6ba92be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/package/handlers/sourceforge.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
project_name2_RE = re.compile(r'^http://([^/]+).sourceforge')

def _sourceforge_name_from_pypi_home_page(home_page):

name1 = project_name1_RE.search(home_page)
if name1:
name1 = name1.group(1)
Expand Down Expand Up @@ -76,6 +77,7 @@ def pull(package):

package.repo_watchers = len(sf_package_data.get('maintainers', [])) + len(sf_package_data.get('developers', []))
package.repo_description = sf_package_data.get('description', '')
# TODO - remove the line below and use repo_url as your foundation
package.repo_url = _get_sourceforge_repo_url(sf_package_data)
package.repo_forks = None
package.participants = _get_sourceforge_participants(sf_package_data)
Expand Down

0 comments on commit 6ba92be

Please sign in to comment.