Commit 6b76cb03 authored by Julien Muchembled's avatar Julien Muchembled

Remove dead code

parent 9a2415db
......@@ -8,7 +8,6 @@ import stat
import subprocess
import sys
from hashlib import md5
import pkg_resources
import zc.buildout
from zc.buildout import UserError
from zc.buildout.buildout import bool_option
......@@ -131,13 +130,6 @@ class Recipe(object):
def update(self):
pass
def _compute_part_signatures(self, options):
# Copy from zc.buildout.Buildout, compute recipe signature
recipe, entry = zc.buildout.buildout._recipe(options)
req = pkg_resources.Requirement.parse(recipe)
sig = zc.buildout.buildout._dists_sig(pkg_resources.working_set.resolve([req]))
return ' '.join(sig)
def download_file(self, url):
download = zc.buildout.download.Download(
self.buildout['buildout'], hash_name=True)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment