[IMP] osv,base: lint cleanup
authorOlivier Dony <odo@openerp.com>
Fri, 15 Oct 2010 14:08:31 +0000 (16:08 +0200)
committerOlivier Dony <odo@openerp.com>
Fri, 15 Oct 2010 14:08:31 +0000 (16:08 +0200)
bzr revid: odo@openerp.com-20101015140831-cavjcc640ardjbaz

bin/addons/base/res/res_log.py
bin/osv/orm.py

index 39fa8ec..9007638 100644 (file)
@@ -21,7 +21,6 @@
 
 from osv import fields, osv
 import tools
-import time
 
 class res_log(osv.osv):
     _name = 'res.log'
@@ -63,7 +62,6 @@ class res_log(osv.osv):
         return unread_logs
 
     def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False):
-        res = []
         log_ids = super(res_log, self).search(cr, uid, args, offset, limit, order, context, count)
         logs = {}
         for log in self.browse(cr, uid, log_ids, context=context):
index 91bd912..6c62665 100644 (file)
@@ -1723,7 +1723,6 @@ class orm_template(object):
             resprint = ir_values_obj.get(cr, user, 'action',
                     'client_print_multi', [(self._name, False)], False,
                     context)
-            resaction = []
             resaction = ir_values_obj.get(cr, user, 'action',
                     'client_action_multi', [(self._name, False)], False,
                     context)