Skip to content

Commit

Permalink
Fix import formatting failures from isort
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed May 22, 2019
1 parent 4360239 commit 4b14c03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions wagtailmedia/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
from wagtail.admin import widgets

from wagtailmedia.models import Media
from wagtailmedia.permissions import \
permission_policy as media_permission_policy
from wagtailmedia.permissions import permission_policy as media_permission_policy

if WAGTAIL_VERSION < (2, 5):
from wagtail.admin.forms import (
Expand Down
4 changes: 1 addition & 3 deletions wagtailmedia/permissions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from wagtail.core.permission_policies.collections import (
CollectionOwnershipPermissionPolicy
)
from wagtail.core.permission_policies.collections import CollectionOwnershipPermissionPolicy

from wagtailmedia.models import Media, get_media_model

Expand Down
4 changes: 1 addition & 3 deletions wagtailmedia/views/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

from wagtail import VERSION as WAGTAIL_VERSION
from wagtail.admin import messages
from wagtail.admin.utils import (
PermissionPolicyChecker, permission_denied, popular_tags_for_model
)
from wagtail.admin.utils import PermissionPolicyChecker, permission_denied, popular_tags_for_model
from wagtail.core.models import Collection
from wagtail.search.backends import get_search_backends
from wagtail.utils.pagination import paginate
Expand Down

0 comments on commit 4b14c03

Please sign in to comment.