#NEWLINE# def _get_image_dimensions( self ) : #NEWLINE# #INDENT# if ( not hasattr ( self , '_dimensions_cache' ) ) : #NEWLINE# #INDENT# close = self . closed #NEWLINE# self . open ( ) #NEWLINE# self . _dimensions_cache = database_get_image_dimensions ( self , close = close ) #NEWLINE# #UNINDENT# return self . _dimensions_cache