summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-06-14 23:12:46 +0200
committerRobert Hensing <robert@roberthensing.nl>2022-06-14 23:23:41 +0200
commit3c4a49f506575306f8b355e86d2b19cf02c84688 (patch)
treecfe4861a2dc0b4ac1b0a34af7569d1ecb7695f5a /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentdfd98a5da26c341cf3b7e6fe7e2dbbaeb0af519c (diff)
lib/modules: Throw earlier when module function does not return attrs
`m` must always be an attrset at this point. It is basically always evaluated. This will make it throw when any of the attrs is accessed, rather than just `config`. We assume that this will improve the error message in more scenarios.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions