Commit Graph

9 Commits (4ed74cd2f510e878422c78a66b07de2ca1edb181)

Author SHA1 Message Date
Marc Mueller 283b4abe67
Update typing 09 (#48059) 2021-03-18 10:02:00 +01:00
Franck Nijhof 197687399d
Upgrade pillow to 8.1.2 (#47619) 2021-03-08 14:26:52 +01:00
Franck Nijhof 1926941d8e
Upgrade pillow to 8.1.1 (#47223) 2021-03-02 13:02:41 -08:00
Franck Nijhof 52c56fdac7
Upgrade pillow to 8.1.0 (#45574) 2021-01-26 18:12:02 +01:00
Franck Nijhof 399661a7f4
Add missing integration quality scale to image integration (#40289) 2020-09-19 11:48:56 +02:00
Paulus Schoutsen 4688171ce0
Add cache headers to picture integration (#39402) 2020-08-31 09:25:39 +02:00
Ville Skyttä b4bac0f7a0
Exception chaining and wrapping improvements (#39320)
* Remove unnecessary exception re-wraps

* Preserve exception chains on re-raise

We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.

The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.

Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.

* Fix mistaken re-wrap in homematicip_cloud/hap.py

Missed the difference between HmipConnectionError and
HmipcConnectionError.

* Do not hide original error on plex new cert validation error

Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Paulus Schoutsen 24a16ff8fe
Add image integration (#38969) 2020-08-19 11:33:04 +02:00