<s> from __future__ import absolute_import <EOL> from django . contrib . staticfiles . templatetags . staticfiles import static <EOL> from . . settings import FILER_ADMIN_ICON_SIZES <EOL> class IconsMixin ( object ) : <EOL> """<STR_LIT>""" <EOL> @ property <EOL> def icons ( self ) : <EOL> r = { } <EOL> if getattr ( self , '<STR_LIT>' , False ) : <EOL> for size in FILER_ADMIN_ICON_SIZES : <EOL> try : <EOL> r [ size ] = static ( "<STR_LIT>" % ( <EOL> self . _icon , size , size ) ) <EOL> except ValueError : <EOL> pass <EOL> return r </s>
