def _drop_sequences(cr, seq_names):
 names = ','.join(seq_names)
 cr.execute(('DROP SEQUENCE IF EXISTS %s RESTRICT ' % names))

def _drop_sequences ( cr , seq_names ) : names = ',' . join ( seq_names ) cr . execute ( ( 'DROP SEQUENCE IF EXISTS %s RESTRICT ' % names ) )
drop the postresql sequences if they exist .