summaryrefslogtreecommitdiffstats
path: root/common/latex.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-11-06 12:40:41 +1100
committerChris Johns <chrisj@rtems.org>2016-11-06 12:40:41 +1100
commit25c0a23445b1477bb06fa879ad4740bab3212822 (patch)
treea320c3adb100c86edec9776d02a3a80475345ff3 /common/latex.py
parentwaf: Add support to handle missing Latex packages on hosts they are not avail... (diff)
downloadrtems-docs-25c0a23445b1477bb06fa879ad4740bab3212822.tar.bz2
waf: Fix the host version check.
Diffstat (limited to 'common/latex.py')
-rw-r--r--common/latex.py6
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):