8000 Fix tox E302 and E303 · coderanger/django-rest-framework@9c3ea30 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9c3ea30

Browse files
authored
Fix tox E302 and E303
1 parent 88b6200 commit 9c3ea30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/permissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def has_object_permission(self, request, view, obj):
6868
"""
6969
return True
7070

71+
7172
class AND(BasePermission):
7273
def __init__(self, *args):
7374
self.permissions = args
@@ -113,7 +114,6 @@ def has_object_permission(self, request, view, obj):
113114
return not self.op1.has_object_permission(request, view, obj)
114115

115116

116-
117117
class AllowAny(BasePermission):
118118
"""
119119
Allow any access.

0 commit comments

Comments
 (0)
0