#NEWLINE# def get_all_schema_versions( self ) : #NEWLINE# #INDENT# versions = [ ] #NEWLINE# conn = self . __connect ( ) #NEWLINE# cursor = conn . cursor ( ) #NEWLINE# cursor . execute ( ( 'select version from %s order by id' % self . __version_table ) ) #NEWLINE# while True : #NEWLINE# #INDENT# version = cursor . fetchone ( ) #NEWLINE# if ( version is None ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# versions . append ( version [ 0 ] ) #NEWLINE# #UNINDENT# cursor . close ( ) #NEWLINE# conn . close ( ) #NEWLINE# versions . sort ( ) #NEWLINE# return versions