misc/migration/3.9.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 05 Dec 2011 14:31:43 +0100
branchstable
changeset 8108 91868ec92391
parent 5768 1e73a466aa69
permissions -rw-r--r--
[migration] Ignore IOError from readline.write_history_file (closes #2106621) We already ignore them when reading the histfile, no reason writing it back should be any different.

if repo.system_source.dbdriver == 'postgres':
    sql('ALTER TABLE appears ADD COLUMN weight float')
    sql('UPDATE appears SET weight=1.0 ')