setup(
name='librarian',
- version='2.4.11',
+ version='2.4.11.1',
description='Converter from WolneLektury.pl XML-based language to XHTML, TXT and other formats',
author="Marek Stępniowski",
author_email='marek@stepniowski.com',
def build(self, builder, base_url=None, **kwargs):
return builder(base_url=base_url).build(self, **kwargs)
- def assign_ids(self):
+ def assign_ids(self, existing=None):
# Find all existing IDs.
- existing = set()
+ existing = existing or set()
que = [self.tree.getroot()]
while que:
item = que.pop(0)