projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af3dbd5
)
[IMP] loading.py: lint cleanup - unused code
author
Olivier Dony
<odo@openerp.com>
Mon, 17 Dec 2012 15:16:26 +0000
(16:16 +0100)
committer
Olivier 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
patch
|
blob
|
history
diff --git
a/openerp/modules/loading.py
b/openerp/modules/loading.py
index
44486fe
..
63b68f7
100644
(file)
--- 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.