Package: cedar-backup2
Version: 2.21.0-3
Severity: important
Tags: patch
Dear Maintainer,
The split action is broken due to a change in the format of the output
of /usr/bin/split. The leading quote is now a forward tick instead of
a backtick:
creating file 'home.tar.bz2_'
instead of
creating file `home.tar.bz2_'
Attached is a small patch to fix this.
Thanks,
Jan Medlock
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cedar-backup2 depends on:
ii python 2.7.3-4
Versions of packages cedar-backup2 recommends:
ii cedar-backup2-doc 2.21.0-3
ii dvd+rw-tools 7.1-10
ii eject 2.1.5+deb1+cvs20081104-13
ii genisoimage9:1.1.11-2
ii ssh1:6.0p1-4
ii wodim 9:1.1.11-2
Versions of packages cedar-backup2 suggests:
ii gnupg 1.4.12-7
pn grepmail none
pn mysql-client none
pn postgresql-client none
pn subversion none
-- no debconf information
--- cedar-backup2-2.21.0/CedarBackup2/extend/split.py.orig 2013-03-19 16:20:32.471377859 -0700
+++ cedar-backup2-2.21.0/CedarBackup2/extend/split.py 2013-03-19 16:20:36.207464661 -0700
@@ -482,7 +482,7 @@
(result, output) = executeCommand(command, args, returnOutput=True, ignoreStderr=False)
if result != 0:
raise IOError(Error [%d] calling split for [%s]. % (result, sourcePath))
- pattern = re.compile(r(creating file `)(%s)(.*)(') % prefix)
+ pattern = re.compile(r(creating file [`'])(%s)(.*)(') % prefix)
match = pattern.search(output[-1:][0])
if match is None:
raise IOError(Unable to parse output from split command.)