Fixed lint errors

This commit is contained in:
Sylvain GARANCHER
2016-11-08 19:24:10 +01:00
parent e59f1e4c64
commit a7a0761d39
3 changed files with 13 additions and 3 deletions

View File

@@ -18,12 +18,20 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import cups
import errno
import logging
import os
from openerp import models, fields, api
_logger = logging.getLogger(__name__)
try:
import cups
except ImportError:
_logger.debug('Cannot `import cups`.')
class Printer(models.Model):
_inherit = 'printing.printer'