# HG changeset patch # User Thierry Florac # Date 1528723689 -7200 # Node ID ceac65ee317dc6df789550c92d1d0056d1848560 # Parent eec2392dacb5af42de03c12cb572f3ba83c6d0e2 Imports cleanup diff -r eec2392dacb5 -r ceac65ee317d src/pyams_media/zmi/audio.py --- a/src/pyams_media/zmi/audio.py Tue May 29 09:49:04 2018 +0200 +++ b/src/pyams_media/zmi/audio.py Mon Jun 11 15:28:09 2018 +0200 @@ -14,30 +14,20 @@ # import standard library -from decimal import Decimal # import interfaces -from pyams_file.interfaces import IVideo, IThumbnail, IAudio -from pyams_form.interfaces.form import IWidgetsPrefixViewletsManager, IFormHelp -from pyams_skin.interfaces.viewlet import IContextActions -from pyams_utils.interfaces import MANAGE_PERMISSION, VIEW_PERMISSION +from pyams_file.interfaces import IAudio +from pyams_form.interfaces.form import IWidgetsPrefixViewletsManager +from pyams_utils.interfaces import VIEW_PERMISSION from pyams_zmi.layer import IAdminLayer -from z3c.form.interfaces import HIDDEN_MODE # import packages -from pyams_form.form import AJAXAddForm -from pyams_form.help import FormHelp -from pyams_form.schema import CloseButton from pyams_pagelet.pagelet import pagelet_config from pyams_skin.layer import IPyAMSLayer -from pyams_skin.viewlet.toolbar import ToolbarActionItem from pyams_template.template import template_config -from pyams_utils.adapter import adapter_config -from pyams_utils.schema import DottedDecimalField from pyams_viewlet.viewlet import viewlet_config, Viewlet -from pyams_zmi.form import AdminDialogAddForm, AdminDialogDisplayForm -from pyramid.view import view_config -from z3c.form import field, button +from pyams_zmi.form import AdminDialogDisplayForm +from z3c.form import field from zope.interface import Interface from pyams_media import _