summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-12-12 13:39:24 +1300
committerNoel Power <npower@samba.org>2018-12-14 14:40:20 +0100
commit338413ad5aba0b6fa2f0419eb99b4d00ebf6ebc7 (patch)
treec90f606ea6e5b68699a8592b693dba65e7479213 /source4/scripting
parent359d832e8981bce350cd7f1d9b087baa57e47cd7 (diff)
downloadsamba-338413ad5aba0b6fa2f0419eb99b4d00ebf6ebc7.tar.gz
samba-338413ad5aba0b6fa2f0419eb99b4d00ebf6ebc7.tar.bz2
samba-338413ad5aba0b6fa2f0419eb99b4d00ebf6ebc7.zip
PY3: change shebang to python3 in source4/scripting dir
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org>
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/devel/addlotscontacts2
-rw-r--r--source4/scripting/devel/chgkrbtgtpass2
-rwxr-xr-xsource4/scripting/devel/chgtdcpass2
-rwxr-xr-xsource4/scripting/devel/config_base2
-rwxr-xr-xsource4/scripting/devel/crackname2
-rwxr-xr-xsource4/scripting/devel/createtrust2
-rwxr-xr-xsource4/scripting/devel/enumprivs2
-rwxr-xr-xsource4/scripting/devel/getncchanges2
-rwxr-xr-xsource4/scripting/devel/pfm_verify.py2
-rwxr-xr-xsource4/scripting/devel/repl_cleartext_pwd.py2
-rwxr-xr-xsource4/scripting/devel/rodcdns2
-rwxr-xr-xsource4/scripting/devel/speedtest.py2
12 files changed, 12 insertions, 12 deletions
diff --git a/source4/scripting/devel/addlotscontacts b/source4/scripting/devel/addlotscontacts
index e8b2c1af1aa..42c88a5540a 100644
--- a/source4/scripting/devel/addlotscontacts
+++ b/source4/scripting/devel/addlotscontacts
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright (C) Matthieu Patou <mat@matws.net> 2010
#
diff --git a/source4/scripting/devel/chgkrbtgtpass b/source4/scripting/devel/chgkrbtgtpass
index 12be1bc3bb1..2beb2e7702c 100644
--- a/source4/scripting/devel/chgkrbtgtpass
+++ b/source4/scripting/devel/chgkrbtgtpass
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright (C) Matthieu Patou <mat@matws.net> 2010
# Copyright (C) Andrew Bartlett <abartlet@samba.org> 2015
diff --git a/source4/scripting/devel/chgtdcpass b/source4/scripting/devel/chgtdcpass
index 4f5ea15a80c..8f2415c64ff 100755
--- a/source4/scripting/devel/chgtdcpass
+++ b/source4/scripting/devel/chgtdcpass
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright (C) Matthieu Patou <mat@matws.net> 2010
#
diff --git a/source4/scripting/devel/config_base b/source4/scripting/devel/config_base
index e74c87486bf..1aa436de1a5 100755
--- a/source4/scripting/devel/config_base
+++ b/source4/scripting/devel/config_base
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# this is useful for running samba tools with a different prefix
diff --git a/source4/scripting/devel/crackname b/source4/scripting/devel/crackname
index 0ae177c133f..196cc45d5c9 100755
--- a/source4/scripting/devel/crackname
+++ b/source4/scripting/devel/crackname
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright Matthieu Patou <mat@matws.net> 2011
# script to call a DRSUAPI crackname
diff --git a/source4/scripting/devel/createtrust b/source4/scripting/devel/createtrust
index 6c0de1c3ff1..26b0d0dcb68 100755
--- a/source4/scripting/devel/createtrust
+++ b/source4/scripting/devel/createtrust
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# create a domain trust
diff --git a/source4/scripting/devel/enumprivs b/source4/scripting/devel/enumprivs
index 33597f9388a..389f7d08779 100755
--- a/source4/scripting/devel/enumprivs
+++ b/source4/scripting/devel/enumprivs
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# script to enumerate LSA privileges on a server
diff --git a/source4/scripting/devel/getncchanges b/source4/scripting/devel/getncchanges
index 9c25e39f756..3929b906a90 100755
--- a/source4/scripting/devel/getncchanges
+++ b/source4/scripting/devel/getncchanges
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# script to call a DRS GetNCChanges from the command line
# this is useful for plugfest testing
diff --git a/source4/scripting/devel/pfm_verify.py b/source4/scripting/devel/pfm_verify.py
index a438fb694f6..2b33441bdcd 100755
--- a/source4/scripting/devel/pfm_verify.py
+++ b/source4/scripting/devel/pfm_verify.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# script to verify cached prefixMap on remote
diff --git a/source4/scripting/devel/repl_cleartext_pwd.py b/source4/scripting/devel/repl_cleartext_pwd.py
index 630a2f524b7..6fc1e162591 100755
--- a/source4/scripting/devel/repl_cleartext_pwd.py
+++ b/source4/scripting/devel/repl_cleartext_pwd.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright Stefan Metzmacher 2011-2012
#
diff --git a/source4/scripting/devel/rodcdns b/source4/scripting/devel/rodcdns
index bd24342ab8f..8f1d90a4c9c 100755
--- a/source4/scripting/devel/rodcdns
+++ b/source4/scripting/devel/rodcdns
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# script to call a netlogon RODC DNS update
diff --git a/source4/scripting/devel/speedtest.py b/source4/scripting/devel/speedtest.py
index e8d412436e6..8a6acfd0a72 100755
--- a/source4/scripting/devel/speedtest.py
+++ b/source4/scripting/devel/speedtest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Unix SMB/CIFS implementation.