[library-web] Revert https://gitlab.gnome.org/Infrastructure/library-web/-/commit/7feae0aa8318813e19049ef7cb36888e



commit ad6626048eac5f7e47d198053fbda200634311da
Author: Andrea Veri <av gnome org>
Date:   Tue Feb 25 23:10:17 2020 +0000

    Revert 
https://gitlab.gnome.org/Infrastructure/library-web/-/commit/7feae0aa8318813e19049ef7cb36888e73380c9f

 src/modtypes/mallard.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/modtypes/mallard.py b/src/modtypes/mallard.py
index daee70a..72092ba 100644
--- a/src/modtypes/mallard.py
+++ b/src/modtypes/mallard.py
@@ -37,10 +37,7 @@ import errors
 from base import DocModule
 
 def dup_node(e):
-    try:
-        return ET.fromstring(ET.tostring(e, encoding='utf-8'))
-    except xml.etree.ElementTree.ParseError as exception:
-        print exception
+    return ET.fromstring(ET.tostring(e, encoding='utf-8'))
 
 
 MAL_NS = 'http://projectmallard.org/1.0/'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]