Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt f354075c7a Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood
This is a new issue that gets linted with flake8 3.5.0. Basically you should
never use a blank except: statement.

This will catch all exceptions, including KeyboardInterrupt and SystemExit
(which is likely not intended). If a catch all is needed, use
`except: Exception`.  If you *really* mean to also catch KeyboardInterrupt et
al, use `except: BaseException`.

Of course, being specific is often better than a catch all.

MozReview-Commit-ID: FKx80MLO4RN

--HG--
extra : rebase_source : 7c74a7d0d81f2c984b47aff3a0ee3448b791177b
2018-01-31 14:32:08 -05:00
Sylvestre Ledru 358507fde2 Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester
MozReview-Commit-ID: icmFJtbWdN

--HG--
extra : rebase_source : 7b2ef783822bcad7f955bad8cbd6cea6df588f92
2017-10-07 16:45:22 +02:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Rail Aliiev 13b9d47ab9 bug 715586: checksums.py should generate sha1 and md5 checksums. r=catlee,ted 2012-01-16 09:30:59 -05:00
Justin Wood 948f5000b2 Bug 633423 - Checksum generation (build/checksums.py) needs to open files in binary mode for correct checksums, r=khuey f=nthomas a=beltzner 2011-02-11 12:06:30 -05:00
John Ford ff984b6de9 Bug 578393 - Create a file with checksums for all builds that we upload, r=ted a=gavin
--HG--
extra : rebase_source : 06c2e575486bebbc383e7d5bf72c979f84883797
2010-10-15 16:09:53 -07:00