From 27ad60d5d7e198c03d7f2dda2e1e215e7f7725fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 5 Dec 2011 16:41:07 +0100 Subject: [PATCH] one more safety measure --- themis/libellioimport/migration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/themis/libellioimport/migration.py b/themis/libellioimport/migration.py index fe3dff8..08889ea 100644 --- a/themis/libellioimport/migration.py +++ b/themis/libellioimport/migration.py @@ -555,6 +555,7 @@ class SplitDocNumbers(BrowserView): print 'failed to get suite number for', attr_value continue print >> fd, object.id, attr_value + object.orig_number = attr_value setattr(object, attr, new_number) if no_suite: object.numero_suite = no_suite