[IMP] Removed non necessary string replace statement.

bzr revid: jth@openerp.com-20100305134641-w6kdzy876b4abkeh
This commit is contained in:
Julien Thewys
2010-03-05 14:46:41 +01:00
parent 0421c587f1
commit 449e6681b4
+1 -1
View File
@@ -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')