← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 676502] Re: [6.0] deprecated form of raising exception (PEP8 Compliant)

 

Hello Christophe,

As I answered in your other similar bug reports about PEP8 compliance, this is not a bug.
Like all code improvements, this is interesting but should happen gradually as code is modified/improved, not as a global change just for the sake of it. 

Thanks for listing these issues, we can track the pep8-tagged bugs later
for reference if we need them.

** Changed in: openobject-addons
       Status: New => Invalid

-- 
[6.0] deprecated form of raising exception (PEP8 Compliant)
https://bugs.launchpad.net/bugs/676502
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Invalid

Bug description:
Theses files use a deprecated form or raising exception

./auction/barcode/usps.py:124:29: W602 deprecated form of raising exception
./auction/barcode/usps.py:205:33: W602 deprecated form of raising exception
./base_report_designer/plugin/openerp_report_designer/bin/script/lib/tiny_socket.py:59:35: W602 deprecated form of raising exception
./base_report_designer/plugin/openerp_report_designer/bin/script/lib/tiny_socket.py:66:35: W602 deprecated form of raising exception
./base_report_designer/plugin/openerp_report_designer/bin/script/lib/tiny_socket.py:78:35: W602 deprecated form of raising exception
./document_ftp/ftpserver/ftpserver.py:641:28: W602 deprecated form of raising exception
./document_ftp/ftpserver/ftpserver.py:826:28: W602 deprecated form of raising exception
./document_webdav/dav_fs.py:476:32: W602 deprecated form of raising exception
./document_webdav/dav_fs.py:513:32: W602 deprecated form of raising exception
./document_webdav/dav_fs.py:619:28: W602 deprecated form of raising exception
./document_webdav/dav_fs.py:657:28: W602 deprecated form of raising exception
./document_webdav/dav_fs.py:730:28: W602 deprecated form of raising exception
./document_webdav/dav_fs.py:743:28: W602 deprecated form of raising exception
./document_webdav/webdav.py:50:24: W602 deprecated form of raising exception
./mail_gateway/mail_gateway.py:70:24: W602 deprecated form of raising exception
./mail_gateway/mail_gateway.py:73:24: W602 deprecated form of raising exception
./mail_gateway/mail_gateway.py:91:24: W602 deprecated form of raising exception
./outlook/plugin/openerp-outlook-plugin/dialogs/processors.py:70:27: W602 deprecated form of raising exception
./outlook/plugin/openerp-outlook-plugin/dialogs/resources/rcparser.py:325:39: W602 deprecated form of raising exception
./wiki/web/widgets/rss/feedparser.py:236:33: W602 deprecated form of raising exception
./wiki/web/widgets/rss/feedparser.py:1365:46: W602 deprecated form of raising exception





References