summaryrefslogtreecommitdiff
path: root/odoo
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2016-09-27 11:54:12 +0200
committerSimon Lejeune <sle@openerp.com>2016-09-30 12:05:49 +0200
commit2d5fc151a201ddcbdbabfb1f45060b65679f67f2 (patch)
treedb43d14dee7f4dba539fd3175f7512b2d6d4f1c2 /odoo
parentea3d9e69ef540d6562b3d8aa8c670f9bccb291d9 (diff)
[REF] cli: rename odoo.py to setup_dev.py
and move it under the setup package. Since the rename of the openerp directory into odoo, having a script named "odoo.py" conflicts with a package named "odoo".
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