~ubuntu-branches/ubuntu/raring/cinder/raring-updates

« back to all changes in this revision

Viewing changes to cinder/db/sqlalchemy/migrate_repo/versions/001_cinder_init.py

Tags: upstream-2013.1~g2
ImportĀ upstreamĀ versionĀ 2013.1~g2

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
            table.create()
241
241
        except Exception:
242
242
            LOG.info(repr(table))
243
 
            LOG.exception('Exception while creating table.')
 
243
            LOG.exception(_('Exception while creating table.'))
244
244
            raise
245
245
 
246
246
    if migrate_engine.name == "mysql":
269
269
 
270
270
 
271
271
def downgrade(migrate_engine):
272
 
    LOG.exception('Downgrade from initial Cinder install is unsupported.')
 
272
    LOG.exception(_('Downgrade from initial Cinder install is unsupported.'))