~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to src/calibre/ebooks/oeb/transforms/split.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-02-27 07:48:06 UTC
  • mto: This revision was merged to the branch mainline in revision 74.
  • Revision ID: package-import@ubuntu.com-20140227074806-64wdebb3ptosxhhx
Tags: upstream-1.25.0+dfsg
ImportĀ upstreamĀ versionĀ 1.25.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
            page_breaks_.append((xp, x.get('pb_before', '0') == '1'))
139
139
            page_break_ids.append(id)
140
140
 
141
 
        for elem in item.data.iter():
 
141
        for elem in item.data.iter(etree.Element):
142
142
            elem.attrib.pop('pb_order', False)
143
143
            elem.attrib.pop('pb_before', False)
144
144