summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):