Skip to content

Commit 8b23140

Browse files
committed
Python: Remove trailing ,
1 parent 60e7786 commit 8b23140

File tree

1 file changed

+2
-2
lines changed
  • python/ql/test/library-tests/frameworks/rest_framework

1 file changed

+2
-2
lines changed

python/ql/test/library-tests/frameworks/rest_framework/taint_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ def retrieve(self, request, routed_param): # $ requestHandler routedParameter=ro
131131
# fake setup, you can't actually run this
132132
urlpatterns = [
133133
path("test-taint/<routed_param>", test_taint), # $ routeSetup="test-taint/<routed_param>"
134-
path("ClassView/<routed_param>", MyClass.as_view()), # $ routeSetup="ClassView/<routed_param>",
135-
path("MyModelViewSet/<routed_param>", MyModelViewSet.as_view()) # $ routeSetup="MyModelViewSet/<routed_param>",
134+
path("ClassView/<routed_param>", MyClass.as_view()), # $ routeSetup="ClassView/<routed_param>"
135+
path("MyModelViewSet/<routed_param>", MyModelViewSet.as_view()) # $ routeSetup="MyModelViewSet/<routed_param>"
136136
]
137137

138138
# tests with no route-setup, but we can still tell that these are using Django REST

0 commit comments

Comments
 (0)