diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-02 01:52:31 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-01 19:57:02 -0600 |
commit | 5e03b921825ffe177bf9d00ed1e12de02728da75 (patch) | |
tree | bfc982fd1eaecb89df1b36d65f78cab6296c084f /source4/scripting | |
parent | 99870953785b3515a6d0a916d72d1c75695cc05d (diff) | |
download | samba-5e03b921825ffe177bf9d00ed1e12de02728da75.tar.gz samba-5e03b921825ffe177bf9d00ed1e12de02728da75.tar.bz2 samba-5e03b921825ffe177bf9d00ed1e12de02728da75.zip |
r26642: samba3sam.py: Remove more EJS-specific code.
(This used to be commit 7d14b657b3d59924b15f4f84bbd5745cd7f759ef)
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py index 01fdea6665..e0b9e1d410 100644 --- a/source4/scripting/python/samba/__init__.py +++ b/source4/scripting/python/samba/__init__.py @@ -172,8 +172,7 @@ class Ldb(ldb.Ldb): :param ldif: LDIF text. """ - for (changetype, msg) in self.parse_ldif(ldif): - assert changetype == ldb.CHANGETYPE_MODIFY + for changetype, msg in self.parse_ldif(ldif): self.modify(msg) |