pdfstrip.py: make the code simpler and more robust
authorAntonio Ospite <ao2@ao2.it>
Sun, 30 Oct 2016 15:19:15 +0000 (16:19 +0100)
committerAntonio Ospite <ao2@ao2.it>
Sun, 30 Oct 2016 18:32:13 +0000 (19:32 +0100)
commit4fd954c749c399c0aa8bba7957ec722ddcce7e72
tree4b4f11128058cd42879220c68275958e437b6fb6
parent965494b69b9bb4182f8a2e50e2eaada0eac4b12f
pdfstrip.py: make the code simpler and more robust

Instead of relying on the name field of the individual objects, which is
not always defined, find objects by their IDs and delete them using the
"page-local" name which is always defined.
pdfstrip.py