]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
teuthology/suite: add len() lupa function 1994/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 5 Aug 2024 21:13:50 +0000 (17:13 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 5 Aug 2024 22:46:40 +0000 (18:46 -0400)
Namespacing for this is weird which is why I missed it.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
teuthology/suite/fragment-merge.lua

index 856bdedb49d66748fd1715489c8ab831f9847a90..6be2e0b8794b2bed73a9f56359457a615e37dac3 100644 (file)
@@ -9,6 +9,7 @@ local lua_allowlist = {
   tostring = tostring,
   py_attrgetter = python.as_attrgetter,
   py_dict = python.builtins.dict,
+  py_len = python.builtins.len,
   py_list = python.builtins.list,
   py_tuple = python.builtins.tuple,
   py_enumerate = python.enumerate,