Permalink
Browse files

Remove unneeded code

  • Loading branch information...
1 parent 4d7a2f9 commit a9db67fe314e0da0ad8fbb40863e7bec43e5687a @dstufft dstufft committed Nov 19, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 crate/pypi/processor.py
View
@@ -359,17 +359,17 @@ def download(self):
for data in self.data.values():
try:
- if pypi_pages.get("has_sig"):
- simple_html = lxml.html.fromstring(pypi_pages["simple"])
- simple_html.make_links_absolute(urlparse.urljoin(SIMPLE_URL, data["package"]) + "/")
+ # if pypi_pages.get("has_sig"):
+ # simple_html = lxml.html.fromstring(pypi_pages["simple"])
+ # simple_html.make_links_absolute(urlparse.urljoin(SIMPLE_URL, data["package"]) + "/")
- verified_md5_hashes = {}
+ # verified_md5_hashes = {}
- for link in simple_html.iterlinks():
- m = _md5_re.search(link[2])
- if m:
- url, md5_hash = m.groups()
- verified_md5_hashes[url] = md5_hash
+ # for link in simple_html.iterlinks():
+ # m = _md5_re.search(link[2])
+ # if m:
+ # url, md5_hash = m.groups()
+ # verified_md5_hashes[url] = md5_hash
package = Package.objects.get(name=data["package"])
release = Release.objects.filter(package=package, version=data["version"]).select_for_update()

0 comments on commit a9db67f

Please sign in to comment.