From b69f3b074ff9ed642415261cb1ae33d1054b4911 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Mon, 5 Jan 2009 13:17:23 +0100 Subject: [PATCH] [FIX] cannot marshal None bzr revid: christophe@tinyerp.com-20090105121723-hzff90u49rq2sd3e --- bin/service/web_services.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/service/web_services.py b/bin/service/web_services.py index 09256686bdb..b97e8a81fa7 100644 --- a/bin/service/web_services.py +++ b/bin/service/web_services.py @@ -286,6 +286,7 @@ class db(netsvc.Service): except Exception, e: tools.debug(e) raise + return True db() class MigrationException(Exception): pass @@ -397,6 +398,8 @@ GNU Public Licence. zip = open(mp, 'w') zip.write(base64.decodestring(zips[module])) zip.close() + + return True except MigrationException, e: self.abortResponse(1, 'Migration Error', 'warning', str(e)) except Exception, e: