diff options
author | Chris Johns <chrisj@rtems.org> | 2016-11-06 12:40:41 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-11-06 12:40:41 +1100 |
commit | 25c0a23445b1477bb06fa879ad4740bab3212822 (patch) | |
tree | a320c3adb100c86edec9776d02a3a80475345ff3 /common/latex.py | |
parent | waf: Add support to handle missing Latex packages on hosts they are not avail... (diff) | |
download | rtems-docs-25c0a23445b1477bb06fa879ad4740bab3212822.tar.bz2 |
waf: Fix the host version check.
Diffstat (limited to '')
-rw-r--r-- | common/latex.py | 6 |
1 files changed, 3 insertions, 3 deletions
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): |