summaryrefslogtreecommitdiff
path: root/odoo
diff options
context:
space:
mode:
Diffstat (limited to 'odoo')
-rw-r--r--odoo/cli/shell.py2
-rw-r--r--odoo/tools/config.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/odoo/cli/shell.py b/odoo/cli/shell.py
index cf7b5ffbce2..6d0b0d5bd01 100644
--- a/odoo/cli/shell.py
+++ b/odoo/cli/shell.py
@@ -46,7 +46,7 @@ class Shell(Command):
exec sys.stdin in local_vars
else:
if 'env' not in local_vars:
- print 'No environment set, use `odoo.py shell -d dbname` to get one.'
+ print 'No environment set, use `%s shell -d dbname` to get one.' % sys.argv[0]
for i in sorted(local_vars):
print '%s: %s' % (i, local_vars[i])
diff --git a/odoo/tools/config.py b/odoo/tools/config.py
index eddc34b5b78..20105c775ed 100644
--- a/odoo/tools/config.py
+++ b/odoo/tools/config.py
@@ -45,7 +45,7 @@ def _get_default_datadir():
def _deduplicate_loggers(loggers):
""" Avoid saving multiple logging levels for the same loggers to a save
file, that just takes space and the list can potentially grow unbounded
- if for some odd reason people use :option`odoo.py --save`` all the time.
+ if for some odd reason people use :option`--save`` all the time.
"""
# dict(iterable) -> the last item of iterable for any given key wins,
# which is what we want and expect. Output order should not matter as