From 985cb58a262f34f793c68d89a696feeb16611414 Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Mon, 8 Jun 2020 19:45:48 +0200 Subject: [PATCH] Remove outdated comment originally added in 879300373f39319c76ef58bd10ce0e32ee55d22b and fixed shortly after in 2dc788aa3f5196a14c00262238ba838248a48077 --- scour/scour.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scour/scour.py b/scour/scour.py index ec5441a..5ba03fd 100644 --- a/scour/scour.py +++ b/scour/scour.py @@ -3649,9 +3649,7 @@ def scourString(in_string, options=None): # remove descriptive elements removeDescriptiveElements(doc, options) - # for whatever reason this does not always remove all inkscape/sodipodi attributes/elements - # on the first pass, so we do it multiple times - # does it have to do with removal of children affecting the childlist? + # remove unneeded namespaced elements/attributes added by common editors if options.keep_editor_data is False: _num_elements_removed += removeNamespacedElements(doc.documentElement, unwanted_ns)