Browse Source

Merge branch '8.0' of github.com:OCA/server-tools into 8.0

pull/152/head
Martin Schmid 10 years ago
parent
commit
e83b2e15d6
  1. 2
      admin_technical_features/__openerp__.py
  2. 2
      shell/cli/shell.py

2
admin_technical_features/__openerp__.py

@ -48,7 +48,7 @@ Module developed and tested with Odoo version 8.0
For questions, please contact our support services \ For questions, please contact our support services \
(support@savoirfairelinux.com) (support@savoirfairelinux.com)
""", """,
'depends': [],
'depends': ['base_import'],
'external_dependencies': { 'external_dependencies': {
'python': [], 'python': [],
}, },

2
shell/cli/shell.py

@ -18,6 +18,7 @@
from __future__ import print_function from __future__ import print_function
import code import code
import logging
import os import os
import signal import signal
import sys import sys
@ -62,6 +63,7 @@ class Shell(Command):
' to get one.') ' to get one.')
for i in sorted(local_vars): for i in sorted(local_vars):
print('%s: %s' % (i, local_vars[i])) print('%s: %s' % (i, local_vars[i]))
logging.disable(logging.CRITICAL)
Console(locals=local_vars).interact() Console(locals=local_vars).interact()
def shell(self, dbname): def shell(self, dbname):

Loading…
Cancel
Save