1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

netcmd: fix broken shell command missing Model

This is already in MODELS which is populated in ModelMeta

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Apr  8 04:07:22 UTC 2024 on atb-devel-224
This commit is contained in:
Rob van der Linde 2024-03-28 16:06:05 +13:00 committed by Andrew Bartlett
parent bcae4c2dbe
commit be2ade2d88

View File

@ -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()})