make rollback a no-op
authorjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Mon, 11 Apr 2011 08:21:50 +0000 (08:21 +0000)
committerjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Mon, 11 Apr 2011 08:21:50 +0000 (08:21 +0000)
git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@1018 e071eeec-0327-468d-9b6a-08194a12b294

ldapdb/backends/ldap/base.py

index 1edb07d..99b2728 100644 (file)
@@ -67,6 +67,9 @@ class DatabaseWrapper(BaseDatabaseWrapper):
                 self.settings_dict['PASSWORD'])
         return DatabaseCursor(self.connection)
 
+    def _rollback(self):
+        pass
+
     def add_s(self, dn, modlist):
         cursor = self._cursor()
         return cursor.connection.add_s(dn.encode(self.charset), modlist)