samba-upgradedns: Use the correct magic incantation of sys.path.insert()
authorAmitay Isaacs <amitay@gmail.com>
Tue, 15 May 2012 00:56:21 +0000 (10:56 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 15 May 2012 03:19:46 +0000 (05:19 +0200)
This replaces "bin/python" with the correct path for python libraries. The
pattern requires double quotes (") instead of single quotes (').

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue May 15 05:19:46 CEST 2012 on sn-devel-104

source4/scripting/bin/samba_upgradedns

index bd6a8b9371730330b9a9f9d3df5915cd6c9fe477..831b81d06d3dc89129bfac6c46098ff0b94a1cfc 100755 (executable)
@@ -26,7 +26,7 @@ import grp
 from base64 import b64encode
 import shlex
 
-sys.path.insert(0, 'bin/python')
+sys.path.insert(0, "bin/python")
 
 import ldb
 import samba