<s> from nagare import log <EOL> import pkg_resources <EOL> from . . assetsmanager import AssetsManager <EOL> class DummyAssetsManager ( AssetsManager ) : <EOL> def __init__ ( self ) : <EOL> super ( DummyAssetsManager , self ) . __init__ ( '<STR_LIT>' , None ) <EOL> def save ( self , data , file_id = None , metadata = { } ) : <EOL> log . debug ( "<STR_LIT>" ) <EOL> log . debug ( "<STR_LIT:%s>" % metadata ) <EOL> return '<STR_LIT>' <EOL> def load ( self , file_id ) : <EOL> log . debug ( "<STR_LIT>" ) <EOL> package = pkg_resources . Requirement . parse ( '<STR_LIT>' ) <EOL> fname = pkg_resources . resource_filename ( package , '<STR_LIT>' ) <EOL> with open ( fname , '<STR_LIT:r>' ) as f : <EOL> data = f . read ( ) <EOL> return data , { } <EOL> def update_metadata ( self , file_id , metadata ) : <EOL> pass <EOL> def get_metadata ( self , file_id ) : <EOL> pass </s>
