summaryrefslogtreecommitdiff
path: root/python/samba/netcmd/shell.py
diff options
context:
space:
mode:
authorRob van der Linde <rob@catalyst.net.nz>2024-03-28 16:06:05 +1300
committerAndrew Bartlett <abartlet@samba.org>2024-04-08 04:07:22 +0000
commitbe2ade2d88bb89763fce2a34f8f68941424ad9ee (patch)
tree6568a4db8685ef0768dd229b5f0556bcb157a846 /python/samba/netcmd/shell.py
parentbcae4c2dbea7067932e931456998b1ada20d615c (diff)
downloadsamba-be2ade2d88bb89763fce2a34f8f68941424ad9ee.tar.gz
samba-be2ade2d88bb89763fce2a34f8f68941424ad9ee.tar.bz2
samba-be2ade2d88bb89763fce2a34f8f68941424ad9ee.zip
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
Diffstat (limited to 'python/samba/netcmd/shell.py')
-rw-r--r--python/samba/netcmd/shell.py1
1 files changed, 0 insertions, 1 deletions
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()})