Mercurial > kallithea
diff rhodecode/lib/dbmigrate/schema/db_1_5_0.py @ 3894:9345065b03c0 beta
fixed some syntax issues (string formatting) with migration files
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 22 May 2013 22:42:16 +0200 |
parents | fa6ba6727475 |
children | ffd45b185016 |
line wrap: on
line diff
--- a/rhodecode/lib/dbmigrate/schema/db_1_5_0.py Wed May 22 22:35:39 2013 +0200 +++ b/rhodecode/lib/dbmigrate/schema/db_1_5_0.py Wed May 22 22:42:16 2013 +0200 @@ -807,7 +807,7 @@ from rhodecode.lib.vcs.backends.git import GitRepository required = (MercurialRepository, GitRepository) if not isinstance(repo, required): - raise Exception('repo must be instance of %s' % required) + raise Exception('repo must be instance of %s' % (','.join(required))) # inject ui extra param to log this action via push logger for k, v in extras.items():