Package: python-xlsxwriter
Version: 0.5.2-1
Severity: important

Dear Maintainer,

The set_start_page method has no effect.  It should set the first page number 
used but doesn't.

This fault appears to be fixed in the stretch version of the package.

There is quite a simple correction - I think the code is incorrect in 
worksheet.py around lines

    # Set start page for printing.
    if self.page_start != 0:
        attributes.append(('useFirstPageNumber', self.page_start))

should be

    # Set start page for printing.
    if self.page_start != 0:
        attributes.append(('firstPageNumber', self.page_start))
        attributes.append(('useFirstPageNumber', 1))

I made this change and it now seems to work OK.

-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-xlsxwriter depends on:
ii  python  2.7.9-1

python-xlsxwriter recommends no packages.

python-xlsxwriter 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