summaryrefslogtreecommitdiff
path: root/odoo
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-01-29 07:52:45 +0000
committerXavier Morel <xmo@odoo.com>2020-02-04 12:42:35 +0000
commit3bdf9307436f17d34dce64fa9ec3a08be4518975 (patch)
tree0bf518dafd1867716de719bdb10862bdb4c229a1 /odoo
parentfab11839074bb326419e4c873f6237e2f7ad8f9a (diff)
[FIX] core: remove import of deprecated `imp` module
Was already not used, it's just that the import was not removed. Remove a bunch of other unused imports while at it.
Diffstat (limited to 'odoo')
-rw-r--r--odoo/modules/module.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/odoo/modules/module.py b/odoo/modules/module.py
index 154a4df1093..508d138ee7a 100644
--- a/odoo/modules/module.py
+++ b/odoo/modules/module.py
@@ -3,26 +3,20 @@
import ast
import collections
-import imp
import importlib
import inspect
import itertools
import logging
import os
-import pkg_resources
-import re
import sys
import time
-import types
import unittest
import threading
-from operator import itemgetter
from os.path import join as opj
import odoo
import odoo.tools as tools
import odoo.release as release
-from odoo import SUPERUSER_ID, api
from odoo.tools import pycompat
MANIFEST_NAMES = ('__manifest__.py', '__openerp__.py')