From 449e6681b48eb690a859c4f4cb9ae55d86d87a53 Mon Sep 17 00:00:00 2001 From: Julien Thewys Date: Fri, 5 Mar 2010 14:46:41 +0100 Subject: [PATCH] [IMP] Removed non necessary string replace statement. bzr revid: jth@openerp.com-20100305134641-w6kdzy876b4abkeh --- bin/tools/yaml_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tools/yaml_test.py b/bin/tools/yaml_test.py index b495989991a..b4d23376c7a 100644 --- a/bin/tools/yaml_test.py +++ b/bin/tools/yaml_test.py @@ -408,7 +408,7 @@ class YamlInterpreter(object): self.logger.notifyChannel(logger_channel, netsvc.LOG_TEST, msg) python, statements = node.items()[0] model = self.get_model(python.model) - statements = statements.replace("\r\n", "\n").replace("\n", ";") + statements = statements.replace("\r\n", "\n") code_context = {'self': model, 'cr': self.cr, 'uid': self.uid, 'log': log, 'context': self.context} try: code = compile(statements, self.filename, 'exec')