[Python-modules-team] Bug#789546: python-dulwich: literal %04x in assertion message

Jakub Wilk jwilk at debian.org
Mon Jun 22 07:53:18 UTC 2015


Package: python-dulwich
Version: 0.10.1-1
Severity: minor

dulwich/protocol.py reads:

 raise AssertionError('Length of pkt read %04x does not match length prefix %04x.'
                      .format(len(pkt_contents) + 4, size))


This raises an assertion with literal "%04x" in the message:

AssertionError: Length of pkt read %04x does not match length prefix %04x.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages python-dulwich depends on:
ii  libc6       2.19-18
ii  python      2.7.9-1
pn  python:any  <none>

-- 
Jakub Wilk



More information about the Python-modules-team mailing list