Don't try to style poly2tri library

This commit is contained in:
Nyall Dawson 2019-12-05 12:22:08 +10:00
parent a9d02dab8b
commit 1e9709cf5b
3 changed files with 3 additions and 1 deletions

View File

@ -89,7 +89,7 @@ astyleit() {
for f in "$@"; do
case "$f" in
src/plugins/grass/qtermwidget/*|external/o2/*|external/qt-unix-signals/*|external/astyle/*|external/kdbush/*|external/wintoast/*|external/qt3dextra-headers/*|python/ext-libs/*|ui_*.py|*.astyle|tests/testdata/*|editors/*)
src/plugins/grass/qtermwidget/*|external/o2/*|external/qt-unix-signals/*|external/astyle/*|external/kdbush/*|external/poly2tri/*|external/wintoast/*|external/qt3dextra-headers/*|python/ext-libs/*|ui_*.py|*.astyle|tests/testdata/*|editors/*)
echo -ne "$f skipped $elcr"
continue
;;

View File

@ -312,6 +312,7 @@ class TestQgsRelationEditWidget(unittest.TestCase):
# Mock vector layer tool to just set default value on created feature
class DummyVlTools(QgsVectorLayerTools):
def addFeature(self, layer, defaultValues, defaultGeometry):
f = QgsFeature(layer.fields())
for idx, value in defaultValues.items():

View File

@ -916,6 +916,7 @@ class TestQgsServerAccessControlWMS(TestQgsServerAccessControl):
"""Test access control security issue GH 32475"""
class Filter(QgsAccessControlFilter):
def layerFilterSubsetString(self, layer):
handler = iface.requestHandler()
if handler.parameter("LAYER_PERM") == "yes":