From a3fe5380678a021c078031f289317b350ac1fe6f Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sat, 4 Jul 2015 22:36:23 -0600 Subject: [PATCH] test: fix get_from_ddb --- artiq/test/hardware_testbench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/test/hardware_testbench.py b/artiq/test/hardware_testbench.py index e1b206885..386e255cb 100644 --- a/artiq/test/hardware_testbench.py +++ b/artiq/test/hardware_testbench.py @@ -20,7 +20,7 @@ def get_from_ddb(*path, default="skip"): v = FlatFileDB(os.path.join(artiq_root, "ddb.pyon")).data try: for p in path: - v = v.read[v] + v = v[p] return v.read except KeyError: if default == "skip":