]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
netcmd: getpassword: get rid of pointless overridden constructors
authorRob van der Linde <rob@catalyst.net.nz>
Thu, 14 Dec 2023 02:24:29 +0000 (15:24 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 15 Dec 2023 02:54:34 +0000 (02:54 +0000)
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>
python/samba/netcmd/user/readpasswords/getpassword.py
python/samba/netcmd/user/readpasswords/syncpasswords.py

index 34e0cbc7a8d664fb65114242eb87be28e99c09dd..b06bf58fdead4cbd0f5782eb45d272383b851210 100644 (file)
@@ -145,8 +145,6 @@ Example2:
 samba-tool user getpassword --filter=samaccountname=TestUser3 --attributes=msDS-KeyVersionNumber,unicodePwd,virtualClearTextUTF16
 
 """
-    def __init__(self):
-        super(cmd_user_getpassword, self).__init__()
 
     synopsis = "%prog (<username>|--filter <filter>) [options]"
 
index 9ea82568caed145466d8e37df374f6faa95f0839..7c795b051f97e7f49a33e6e07a9061f354175d2f 100644 (file)
@@ -232,8 +232,6 @@ samba-tool user syncpasswords --terminate \\
     --logfile=/var/log/samba/user-syncpasswords.log
 
 """
-    def __init__(self):
-        super(cmd_user_syncpasswords, self).__init__()
 
     synopsis = "%prog [--cache-ldb-initialize] [options]"