From 25c0a23445b1477bb06fa879ad4740bab3212822 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sun, 6 Nov 2016 12:40:41 +1100 Subject: waf: Fix the host version check. --- common/latex.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/latex.py') diff --git a/common/latex.py b/common/latex.py index 186a64f..b0cca19 100644 --- a/common/latex.py +++ b/common/latex.py @@ -100,9 +100,9 @@ def local_packages(): host, version = host_name() packages = None if host in hosts: - for version in list(hosts[host].keys()): - if re.compile(version).match(version) is not None: - packages = hosts[host][version] + for hv in list(hosts[host].keys()): + if re.compile(hv).match(version) is not None: + packages = hosts[host][hv] return packages def configure_tests(conf): -- cgit v1.2.3