From 3bdf9307436f17d34dce64fa9ec3a08be4518975 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Wed, 29 Jan 2020 07:52:45 +0000 Subject: [PATCH] [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. --- odoo/modules/module.py | 6 ------ 1 file changed, 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')