diff --git a/product/ERP5/Tool/SimulationTool.py b/product/ERP5/Tool/SimulationTool.py
index a0818586712bb90965f17d759899e49701707993..fc127e4f39d3518b8c07c07d85d90b5c8649f657 100644
--- a/product/ERP5/Tool/SimulationTool.py
+++ b/product/ERP5/Tool/SimulationTool.py
@@ -352,13 +352,16 @@ class SimulationTool(BaseTool):
 
     def _generateSQLKeywordDict(self, table='stock', **kw):
         sql_kw, new_kw = self._generateKeywordDict(table=table, **kw)
-        return self._generateSQLKeywordDictFromKeywordDict(table=table, sql_kw=sql_kw, new_kw=new_kw)
+        return self._generateSQLKeywordDictFromKeywordDict(table=table,
+                 sql_kw=sql_kw, new_kw=new_kw)
 
     def _generateSQLKeywordDictFromKeywordDict(self, table, sql_kw, new_kw):
-        # Some columns cannot be found automatically, prepend table name to avoid ambiguities.
+        # Some columns cannot be found automatically, prepend table name to
+        # avoid ambiguities.
         group_by = new_kw.pop('group_by', [])
         if len(group_by):
-          new_kw['group_by_expression'] = ', '.join(['%s.%s' % (table, x) for x in group_by])
+          new_kw['group_by_expression'] = ', '.join(['%s.%s' % (table, x) \
+                                                     for x in group_by])
         column_value_dict = new_kw.pop('column_value_dict', {})
         for key, value in column_value_dict.iteritems():
           new_kw['%s.%s' % (table, key)] = value