summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-08-28 17:21:34 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-09-14 14:22:06 +0200
commitbc27fd4a7c7c4a65b538b8932c7a341aa2364dcf (patch)
treecae63b6e012f6ab62f94a91ed8d6805a7e9331e5
parent97e9e355bf4dfffa6abbbfad69626ef662ae8ef2 (diff)
config: Fix variable reference before assigment
-rw-r--r--src/osmo_gsm_tester/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_gsm_tester/config.py b/src/osmo_gsm_tester/config.py
index 4e7f504..1d52073 100644
--- a/src/osmo_gsm_tester/config.py
+++ b/src/osmo_gsm_tester/config.py
@@ -268,7 +268,7 @@ def overlay(dest, src):
if not is_list(src):
raise ValueError('cannot combine list with a value of type: %r' % type(src))
for i in range(len(src)):
- log.ctx(key=key)
+ log.ctx(idx=i)
dest[i] = overlay(dest[i], src[i])
return dest
return src