Skip to content

Commit c07fa8f

Browse files
author
Martin Belanger
committed
python: fix typo from previous commit
Use: PyDict_SetItemStringDecRef(entry, "tsas", tsas); Instead of: PyDict_SetItemStringDecRef(entry, "tsas", val); Signed-off-by: Martin Belanger <[email protected]>
1 parent eff0ffe commit c07fa8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libnvme/nvme.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ PyObject *hostid_from_file();
375375
break;
376376
}
377377
PyDict_SetItemStringDecRef(tsas, "cms", val);
378-
PyDict_SetItemStringDecRef(entry, "tsas", val);
378+
PyDict_SetItemStringDecRef(entry, "tsas", tsas);
379379
}
380380

381381
val = PyLong_FromLong(e->portid);

0 commit comments

Comments
 (0)