From f0c826cec61be6bcde918b2ce3eb11c987fb70f2 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Mon, 17 Dec 2012 16:16:26 +0100 Subject: [PATCH] [IMP] loading.py: lint cleanup - unused code bzr revid: odo@openerp.com-20121217151626-1pbzf7mxh9inx1y9 --- openerp/modules/loading.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openerp/modules/loading.py b/openerp/modules/loading.py index 44486fe52dc..63b68f77967 100644 --- a/openerp/modules/loading.py +++ b/openerp/modules/loading.py @@ -142,10 +142,6 @@ def load_module_graph(cr, graph, status=None, perform_checks=True, skip_modules= migrations = openerp.modules.migration.MigrationManager(cr, graph) _logger.debug('loading %d packages...', len(graph)) - # get db timestamp - cr.execute("select (now() at time zone 'UTC')::timestamp") - dt_before_load = cr.fetchone()[0] - # Query manual fields for all models at once and save them on the registry # so the initialization code for each model does not have to do it # one model at a time.