1. Luke Plant
  2. django-anonymizer

Commits

Luke Plant  committed ff94321

Removed some debugging code.

  • Participants
  • Parent commits e117b26
  • Branches default

Comments (0)

Files changed (1)

File anonymizer/base.py

View file
        for obj in self.get_query_set():
            retval = self.alter_object(obj)
            if retval is not False:
-               try:
-                   sid = transaction.savepoint()
-                   obj.save()
-                   transaction.savepoint_commit(sid)
-               except IntegrityError:
-                   transaction.savepoint_rollback(sid)
-                   from IPython.Shell import IPShellEmbed; IPShellEmbed([])()
-                   #raise
+            obj.save()