Merge pull request #1350 from adamjstewart/fixes/openssl

Fix OpenSSL url_for_version
This commit is contained in:
Todd Gamblin 2016-07-27 08:08:00 -07:00 committed by GitHub
commit 458deaae5e

View file

@ -52,7 +52,7 @@ def url_for_version(self, version):
if '@system' in self.spec: if '@system' in self.spec:
return '@system (reserved version for system openssl)' return '@system (reserved version for system openssl)'
else: else:
return super(Openssl, self).url_for_version(self.spec) return super(Openssl, self).url_for_version(self.version)
def handle_fetch_error(self, error): def handle_fetch_error(self, error):
tty.warn("Fetching OpenSSL failed. This may indicate that OpenSSL has " tty.warn("Fetching OpenSSL failed. This may indicate that OpenSSL has "