# HG changeset patch # User Julien Cristau # Date 1455616869 -3600 # Node ID a385bd14617879e2da1b037a8599612aca878725 # Parent 468b91aabd9d6719bd0437f46a7a2e68b30905a0 [sources/native] remove extra space before colon This isn't French. diff -r 468b91aabd9d -r a385bd146178 server/sources/native.py --- a/server/sources/native.py Tue Feb 16 10:52:38 2016 +0100 +++ b/server/sources/native.py Tue Feb 16 11:01:09 2016 +0100 @@ -1711,17 +1711,17 @@ archive_versions = self._parse_versions(archive.read('versions.txt')) db_versions = set(self._get_versions()) if archive_versions != db_versions: - self.logger.critical('Restore warning : versions do not match') + self.logger.critical('Restore warning: versions do not match') new_cubes = db_versions - archive_versions if new_cubes: - self.logger.critical('In the db:\n%s', '\n'.join('%s : %s' % (cube, ver) + self.logger.critical('In the db:\n%s', '\n'.join('%s: %s' % (cube, ver) for cube, ver in sorted(new_cubes))) old_cubes = archive_versions - db_versions if old_cubes: - self.logger.critical('In the archive:\n%s', '\n'.join('%s : %s' % (cube, ver) + self.logger.critical('In the archive:\n%s', '\n'.join('%s: %s' % (cube, ver) for cube, ver in sorted(old_cubes))) if not ASK.confirm('Versions mismatch: continue anyway ?', False): - raise ValueError('Unable to restore : versions do not match') + raise ValueError('Unable to restore: versions do not match') table_chunks = {} for name in archive.namelist(): if not name.startswith('tables/'):