--- a/bin/clone_deps.py Fri Apr 27 14:22:38 2012 +0200
+++ b/bin/clone_deps.py Wed May 02 10:13:39 2012 +0200
@@ -3,6 +3,7 @@
from subprocess import call as sbp_call, Popen, PIPE
from urllib import urlopen
+import os
from os import path as osp, pardir, chdir
--- a/server/sources/native.py Fri Apr 27 14:22:38 2012 +0200
+++ b/server/sources/native.py Wed May 02 10:13:39 2012 +0200
@@ -1811,8 +1811,10 @@
versions = set(self._get_versions())
if file_versions != versions:
self.logger.critical('Unable to restore : versions do not match')
- self.logger.critical('Expected:\n%s', '\n'.join(list(sorted(versions))))
- self.logger.critical('Found:\n%s', '\n'.join(list(sorted(file_versions))))
+ self.logger.critical('Expected:\n%s', '\n'.join('%s : %s' % (cube, ver)
+ for cube, ver in sorted(versions)))
+ self.logger.critical('Found:\n%s', '\n'.join('%s : %s' % (cube, ver)
+ for cube, ver in sorted(file_versions)))
raise ValueError('Unable to restore : versions do not match')
table_chunks = {}
for name in archive.namelist():