document: fixes for lint checks
bzr revid: p_christ@hol.gr-20101103112604-nh7xqcx5e17h3wjo
This commit is contained in:
@@ -667,7 +667,7 @@ class document_storage(osv.osv):
|
||||
if ktype == 'file':
|
||||
try:
|
||||
os.unlink(fname)
|
||||
except Exception, e:
|
||||
except Exception:
|
||||
self._doclog.warning("Could not remove file %s, please remove manually.", fname, exc_info=True)
|
||||
else:
|
||||
self._doclog.warning("Unknown unlink key %s" % ktype)
|
||||
|
||||
@@ -1496,7 +1496,7 @@ class nodefd_static(StringIO, node_descriptor):
|
||||
return
|
||||
|
||||
par = self._get_parent()
|
||||
uid = par.context.uid
|
||||
# uid = par.context.uid
|
||||
cr = pooler.get_db(par.context.dbname).cursor()
|
||||
try:
|
||||
if self.mode in ('w', 'w+', 'r+'):
|
||||
|
||||
Reference in New Issue
Block a user