diff options
| author | Xavier Morel <xmo@tinyerp.com> | 2010-03-02 11:52:46 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@tinyerp.com> | 2010-03-02 11:52:46 +0100 |
| commit | 56e1e6cd2a8f82c2b78c7a99f10eabe6305e75ec (patch) | |
| tree | f71ff4520180b3b340e07919b0ca82a46c49e031 /bin | |
| parent | abf77039855e4cf02afac1a6ac7a92fa4f7836d2 (diff) | |
[fix] remove print spam
bzr revid: xmo@tinyerp.com-20100302105246-slpkqkx65it1r7qr
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/service/security.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/service/security.py b/bin/service/security.py index a1ae4fab311..c74ed2c7aba 100644 --- a/bin/service/security.py +++ b/bin/service/security.py @@ -30,12 +30,9 @@ class ExceptionNoTb(Exception): self.args = (msg, '') def login(db, login, password): - print 'login' pool = pooler.get_pool(db) user_obj = pool.get('res.users') - res = user_obj.login(db, login, password) - print 'login end' - return res + return user_obj.login(db, login, password) def check_super(passwd): if passwd == tools.config['admin_passwd']: |
