Skip to content

Commit a3fe538

Browse files
committedJul 5, 2015
test: fix get_from_ddb
1 parent e056438 commit a3fe538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎artiq/test/hardware_testbench.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def get_from_ddb(*path, default="skip"):
2020
v = FlatFileDB(os.path.join(artiq_root, "ddb.pyon")).data
2121
try:
2222
for p in path:
23-
v = v.read[v]
23+
v = v[p]
2424
return v.read
2525
except KeyError:
2626
if default == "skip":

0 commit comments

Comments
 (0)
Please sign in to comment.