This is an automated email from the ASF dual-hosted git repository.
gcruz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
The following commit(s) were added to refs/heads/master by this push:
new daa3dff43 Fix getiterator() deprecated in Python 3.9
daa3dff43 is described below
commit daa3dff438c899a2e6b3ade3e8195d51eb9099b5
Author: Ellery Alvarez <[email protected]>
AuthorDate: Fri Feb 10 13:04:43 2023 -0500
Fix getiterator() deprecated in Python 3.9
---
Allura/allura/lib/markdown_extensions.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Allura/allura/lib/markdown_extensions.py
b/Allura/allura/lib/markdown_extensions.py
index e69ab1c68..468469d77 100644
--- a/Allura/allura/lib/markdown_extensions.py
+++ b/Allura/allura/lib/markdown_extensions.py
@@ -437,7 +437,7 @@ class
ForgeLinkTreeProcessor(markdown.treeprocessors.Treeprocessor):
self.alinks = []
def run(self, root):
- for node in root.getiterator('a'):
+ for node in root.iter('a'):
if 'alink' in node.get('class', '').split() and node.text:
node.text = '[' + node.text + ']'
return root