misc/migration/3.13.8_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 25 Mar 2014 09:20:37 +0100
changeset 9824 30183ecf5c61
parent 7922 d307c3817782
permissions -rw-r--r--
[datafeed parser] fix retrieve_url to always return urllib2.urlopen compatible output as one should expect to be able to call geturl/getcode/info on the returned object whatever the url he gave. Related to #3682069

change_attribute_type('CWCache', 'timestamp', 'TZDatetime')
change_attribute_type('CWUser', 'last_login_time', 'TZDatetime')
change_attribute_type('CWSource', 'latest_retrieval', 'TZDatetime')
drop_attribute('CWSource', 'synchronizing')
add_attribute('CWSource', 'in_synchronization')