[IMP] loading.py: lint cleanup - unused code
authorOlivier Dony <odo@openerp.com>
Mon, 17 Dec 2012 15:16:26 +0000 (16:16 +0100)
committerOlivier Dony <odo@openerp.com>
Mon, 17 Dec 2012 15:16:26 +0000 (16:16 +0100)
bzr revid: odo@openerp.com-20121217151626-1pbzf7mxh9inx1y9

openerp/modules/loading.py

index 44486fe..63b68f7 100644 (file)
@@ -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.