[SCM] Samba Shared Repository - branch master updated
Matthias Dieter Wallnöfer
mdw at samba.org
Fri Jun 25 00:47:02 MDT 2010
The branch, master has been updated
via 92cfc63... s4 upgradeprovision: Try to support older Pythons.
from 163ed44... s4/drs: DsReplicaSync should search partition to Sync
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 92cfc632871e742dedf26ebd43ac789ebed0860c
Author: Michael Wood <esiotrot at gmail.com>
Date: Fri Jun 25 08:46:13 2010 +0200
s4 upgradeprovision: Try to support older Pythons.
Use "...".split(sep, 1) instead of "...".partition(sep).
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
-----------------------------------------------------------------------
Summary of changes:
source4/scripting/python/samba/upgradehelpers.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py
index 377ac29..74a157d 100755
--- a/source4/scripting/python/samba/upgradehelpers.py
+++ b/source4/scripting/python/samba/upgradehelpers.py
@@ -422,7 +422,7 @@ def identic_rename(ldbobj, dn):
:param lbdobj: An Ldb Object
:param dn: DN of the object to manipulate
"""
- (before, sep, after)=str(dn).partition('=')
+ (before, after) = str(dn).split('=', 1)
ldbobj.rename(dn, ldb.Dn(ldbobj, "%s=foo%s" % (before, after)))
ldbobj.rename(ldb.Dn(ldbobj, "%s=foo%s" % (before, after)), dn)
--
Samba Shared Repository
More information about the samba-cvs
mailing list