Remove outdated comment

originally added in
  879300373f
and fixed shortly after in
  2dc788aa3f
This commit is contained in:
Patrick Storz 2020-06-08 19:45:48 +02:00
parent 1bb875192f
commit 985cb58a26

View file

@ -3649,9 +3649,7 @@ def scourString(in_string, options=None):
# remove descriptive elements # remove descriptive elements
removeDescriptiveElements(doc, options) removeDescriptiveElements(doc, options)
# for whatever reason this does not always remove all inkscape/sodipodi attributes/elements # remove unneeded namespaced elements/attributes added by common editors
# on the first pass, so we do it multiple times
# does it have to do with removal of children affecting the childlist?
if options.keep_editor_data is False: if options.keep_editor_data is False:
_num_elements_removed += removeNamespacedElements(doc.documentElement, _num_elements_removed += removeNamespacedElements(doc.documentElement,
unwanted_ns) unwanted_ns)