summaryrefslogtreecommitdiff
path: root/openerp/modules/loading.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-12-17 16:16:26 +0100
committerOlivier Dony <odo@openerp.com>2012-12-17 16:16:26 +0100
commitf0c826cec61be6bcde918b2ce3eb11c987fb70f2 (patch)
tree7bfe32e1571214e1993f56d06c77c7ed3ce1c292 /openerp/modules/loading.py
parentaf3dbd598d60a470be54d6f34ba8cb0714238609 (diff)
[IMP] loading.py: lint cleanup - unused code
bzr revid: odo@openerp.com-20121217151626-1pbzf7mxh9inx1y9
Diffstat (limited to 'openerp/modules/loading.py')
-rw-r--r--openerp/modules/loading.py4
1 files changed, 0 insertions, 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.