summaryrefslogtreecommitdiff
path: root/addons/document/document.py
diff options
context:
space:
mode:
authorSbh (Openerp) <sbh@tinyerp.com>2012-06-25 14:51:12 +0530
committerSbh (Openerp) <sbh@tinyerp.com>2012-06-25 14:51:12 +0530
commited3f7fb030523d6fcbc050ebbe1946da1db5a3d1 (patch)
tree998764ffc251108985b0b1579ef7e5a557f3cae2 /addons/document/document.py
parent9eb877fee53e7d62a1692a28acc8a0d7a8fb5a57 (diff)
parent06391b79366765df2845c5e1f67adf566b50349a (diff)
[MERGE] Merge with lp:openobject-addons
bzr revid: sbh@tinyerp.com-20120625092112-s7o833jxa988mbz6
Diffstat (limited to 'addons/document/document.py')
-rw-r--r--addons/document/document.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/document/document.py b/addons/document/document.py
index c213ca57549..b304f54cec3 100644
--- a/addons/document/document.py
+++ b/addons/document/document.py
@@ -30,7 +30,7 @@ from tools.translate import _
import nodes
import logging
-_loggerdoc = logging.getLogger(__name__)
+_logger = logging.getLogger(__name__)
DMS_ROOT_PATH = tools.config.get('document_path', os.path.join(tools.config['root_path'], 'filestore'))
@@ -57,7 +57,7 @@ class document_file(osv.osv):
parent_id = self.pool.get('document.directory')._get_root_directory(cr,uid)
if not parent_id:
- _loggerdoc.warning("at _attach_parent_id(), still not able to set the parent!")
+ _logger.warning("at _attach_parent_id(), still not able to set the parent!")
return False
if ids is not None: