From 7e1068852d4febd3edcff7fa85f974c4a8491b1c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 19 Dec 2015 09:00:45 +0530 Subject: [PATCH] ... --- src/calibre/utils/exim.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/calibre/utils/exim.py b/src/calibre/utils/exim.py index 752efb05d6..613c363da0 100644 --- a/src/calibre/utils/exim.py +++ b/src/calibre/utils/exim.py @@ -245,8 +245,9 @@ class Importer(object): raise ValueError('The exported data in %s is not valid, tail too small' % name) part_num, version, is_last = struct.unpack(Exporter.TAIL_FMT, raw) if version > Exporter.VERSION: - raise ValueError('The exported data in %s is not valid, version (%d) is higher than maximum supported version.' % ( - name, version)) + raise ValueError('The exported data in %s is not valid,' + ' version (%d) is higher than maximum supported version.' + ' You might need to upgrade calibre first.' % (name, version)) part_map[part_num] = path, is_last nums = sorted(part_map) if not nums: