#NEWLINE# def get_storage_hash( self , storage ) : #NEWLINE# #INDENT# '\n        Return a hex string hash for a storage object (or string containing a\n        pickle of a storage object).\n\n        ' #NEWLINE# try : #NEWLINE# #INDENT# storage_obj = pickle . loads ( str ( self . pickle ) ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# storage_obj = default_storage #NEWLINE# #UNINDENT# storage_cls = storage_obj . __class__ #NEWLINE# name = ( '%s.%s' % ( storage_cls . __module__ , storage_cls . __name__ ) ) #NEWLINE# return hashlib . md5 ( name ) . hexdigest ( )