summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-12-26 18:03:39 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2019-12-26 18:50:38 +0100
commitc5c7ccf022559bd3c40506786a1ffba1b28a08d0 (patch)
tree692b1e4bfac9de96e9a067e65cc332911707682f /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent495b0b581c53cc36e788a1345963f5b1427deabd (diff)
nixos/nginx: fix test
When using format-strings, curly brackets need to be escaped using `{{` to avoid errors from python. And apparently, Perl's `==` is used to compare substrings[1] which is why the translation to `assert http_code == "304"` failed as the string contains several headers from curl. [1] Just check `perl <(echo 'die "alarm" if "foo\n304" == 304')`
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions