[rtems-docs commit] waf: Fix the host version check.

Chris Johns chrisj at rtems.org
Sun Nov 6 01:40:46 UTC 2016


Module:    rtems-docs
Branch:    master
Commit:    25c0a23445b1477bb06fa879ad4740bab3212822
Changeset: http://git.rtems.org/rtems-docs/commit/?id=25c0a23445b1477bb06fa879ad4740bab3212822

Author:    Chris Johns <chrisj at rtems.org>
Date:      Sun Nov  6 12:40:41 2016 +1100

waf: Fix the host version check.

---

 common/latex.py | 6 +++---
 1 file 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):



More information about the vc mailing list