aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/utility/svg.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/wqflask/utility/svg.py b/wqflask/utility/svg.py
index eddb97da..912cd04c 100644
--- a/wqflask/utility/svg.py
+++ b/wqflask/utility/svg.py
@@ -108,12 +108,6 @@ if use_dom_implementation != 0:
# The implementation is used for the creating the XML document.
# The prettyprint module is used for converting the xml document object to a xml file
-assert sys.version_info[0] >= 2
-if sys.version_info[1] < 2:
- True = 1
- False = 0
- file = open
-
sys.setrecursionlimit = 50
# The recursion limit is set conservative so mistakes like s=svg() s.addElement(s)
# won't eat up too much processor time.