misc/migration/3.18.0_Any.py
changeset 9460 a2a0bc984863
parent 9395 96dba2efd16d
child 9478 2d7521881d3d
equal deleted inserted replaced
9459:d3016c08b4ae 9460:a2a0bc984863
     1 driver = config.sources()['system']['db-driver']
     1 driver = config.system_source_config['db-driver']
     2 if not (driver == 'postgres' or driver.startswith('sqlserver')):
     2 if not (driver == 'postgres' or driver.startswith('sqlserver')):
     3     import sys
     3     import sys
     4     print >>sys.stderr, 'This migration is not supported for backends other than sqlserver or postgres (yet).'
     4     print >>sys.stderr, 'This migration is not supported for backends other than sqlserver or postgres (yet).'
     5     sys.exit(1)
     5     sys.exit(1)
     6 
     6