← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: pep8

-- 
[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: New

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





Follow ups

References