From: Rob van der Linde Date: Thu, 28 Mar 2024 03:06:05 +0000 (+1300) Subject: netcmd: fix broken shell command missing Model X-Git-Tag: tdb-1.4.11~1268 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be2ade2d88bb89763fce2a34f8f68941424ad9ee;p=thirdparty%2Fsamba.git netcmd: fix broken shell command missing Model This is already in MODELS which is populated in ModelMeta Signed-off-by: Rob van der Linde Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Mon Apr 8 04:07:22 UTC 2024 on atb-devel-224 --- diff --git a/python/samba/netcmd/shell.py b/python/samba/netcmd/shell.py index 5df3aa11336..54c4019df36 100644 --- a/python/samba/netcmd/shell.py +++ b/python/samba/netcmd/shell.py @@ -50,7 +50,6 @@ class cmd_shell(Command): context.update({ "samdb": samdb, "ldb": ldb, - "Model": Model, }) context.update({model.__name__: model for model in MODELS.values()})