Package: debdelta
Version: 0.39
Severity: important
Tags: patch

debdelta fails like this:
$ debdelta udev_154-1_amd64.deb udev_157-1_amd64.deb test
debdelta : _append_() takes exactly 4 arguments (3 given)<type 
'exceptions.TypeError'>_append_() takes exactly 4 arguments (3 given)

adding a default seems to make it work:
--- /usr/bin/debdelta
+++ /usr/bin/debdelta-fixed
@@ -2377,7 +2377,7 @@
     current_chunk_name=a_numb_file.next()
     mega_cat=open(TD+'/'+current_chunk_name,'w')
     #helper function
-    def _append_(p, w, rm, script_prepiped):
+    def _append_(p, w, rm, script_prepiped=False):
       mega_cat.write(w+fake_tar_2nd)
       f=open(TD+p+'/'+w)
       a=f.read(1024)


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 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 debdelta depends on:
ii  binutils                2.20.1-10        The GNU assembler, linker and bina
ii  bzip2                   1.0.5-4          high-quality block-sorting file co
ii  libbz2-1.0              1.0.5-4          high-quality block-sorting file co
ii  libc6                   2.11.1-3         Embedded GNU C Library: Shared lib
ii  python                  2.5.4-9          An interactive high-level object-o
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages debdelta recommends:
ii  bsdiff                        4.3-10     generate/apply a patch between two
ii  lzma                          4.43-14    Compression method of 7z format in
ii  python-apt                    0.7.95     Python interface to libapt-pkg
ii  xdelta                        1.1.3-9    A diff utility which works with bi
ii  xdelta3                       0y.dfsg-1  A diff utility which works with bi

debdelta suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to