diff options
| author | Christophe Simonis <chs@tinyerp.com> | 2010-01-29 11:17:12 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@tinyerp.com> | 2010-01-29 11:17:12 +0100 |
| commit | cb307f9213d43e97c53b6dd4559a3dbf45f104e7 (patch) | |
| tree | 5e1936f9a1878d6067913f68c4bfe532f9193522 /bin/report/interface.py | |
| parent | 75865c816159bbb5f689ed9774ca1c6e8e61d603 (diff) | |
[IMP] rename Service.service_exist to Service.exits (classmethod)
bzr revid: chs@tinyerp.com-20100129101712-ok7fd5y0hnow5fds
Diffstat (limited to 'bin/report/interface.py')
| -rw-r--r-- | bin/report/interface.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/report/interface.py b/bin/report/interface.py index 5ae8fb021c2..9f67bdd6de1 100644 --- a/bin/report/interface.py +++ b/bin/report/interface.py @@ -46,7 +46,7 @@ def toxml(val): class report_int(netsvc.Service): def __init__(self, name, audience='*'): - assert not self.service_exist(name), 'The report "%s" already exist!' % name + assert not self.exists(name), 'The report "%s" already exists!' % name super(report_int, self).__init__(name, audience) if name[0:7]<>'report.': raise Exception, 'ConceptionError, bad report name, should start with "report."' |
