[sources/native] remove extra space before colon
authorJulien Cristau <julien.cristau@logilab.fr>
Tue, 16 Feb 2016 11:01:09 +0100
changeset 11115 a385bd146178
parent 11114 468b91aabd9d
child 11116 72a0f70879ac
[sources/native] remove extra space before colon This isn't French.
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/'):