projects
/
odoo
/
odoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/7.0' into 7.0-travis
[odoo/odoo.git]
/
openerp
/
exceptions.py
diff --git
a/openerp/exceptions.py
b/openerp/exceptions.py
index
d12910c
..
fbf52c7
100644
(file)
--- a/
openerp/exceptions.py
+++ b/
openerp/exceptions.py
@@
-33,7
+33,7
@@
class Warning(Exception):
class AccessDenied(Exception):
""" Login/password error. No message, no traceback. """
def __init__(self):
class AccessDenied(Exception):
""" Login/password error. No message, no traceback. """
def __init__(self):
- super(AccessDenied, self).__init__('AccessDenied.')
+ super(AccessDenied, self).__init__('Access denied.')
self.traceback = ('', '', '')
class AccessError(Exception):
self.traceback = ('', '', '')
class AccessError(Exception):
@@
-52,6
+52,5
@@
class DeferredException(Exception):
def __init__(self, msg, tb):
self.message = msg
self.traceback = tb
def __init__(self, msg, tb):
self.message = msg
self.traceback = tb
- self.args = (msg, tb)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: