From: Antonio Ospite Date: Sun, 30 Oct 2016 15:19:15 +0000 (+0100) Subject: pdfstrip.py: make the code simpler and more robust X-Git-Url: https://git.ao2.it/pdfstrip.git/commitdiff_plain/4fd954c749c399c0aa8bba7957ec722ddcce7e72?hp=4fd954c749c399c0aa8bba7957ec722ddcce7e72;ds=sidebyside 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. ---