Mercurial > gub
changeset 6232:692b2b39fc49
Rename post_download_hook to bind_version.
author | Julien Rioux <julien.rioux@gmail.com> |
---|---|
date | Thu, 05 Sep 2013 04:54:59 +0200 |
parents | f6a9e8dd7d37 |
children | f600e2fc93d5 |
files | gub/specs/lilypond.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/lilypond.py Tue Sep 03 19:48:50 2013 +0200 +++ b/gub/specs/lilypond.py Thu Sep 05 04:54:59 2013 +0200 @@ -76,7 +76,7 @@ '%(MAJOR_VERSION)s.%(MINOR_VERSION)s.%(PATCH_LEVEL)s') @staticmethod - def post_download_hook (self): + def bind_version (self): self.version = misc.bind_method (LilyPond.version_from_VERSION, self) def __init__ (self, settings, source): @@ -92,7 +92,7 @@ if source.is_downloaded (): source.version = misc.bind_method (LilyPond.version_from_VERSION, source) else: - source.post_download_hook = misc.bind_method (LilyPond.post_download_hook, source) + source.post_download_hook = misc.bind_method (LilyPond.bind_version, source) if 'stat' in misc.librestrict () and not 'tools::texlive' in self.dependencies: build.append_dict (self, {'PATH': os.environ['PATH']}) # need mf, mpost from system def get_conflict_dict (self):