aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorArun Isaac2022-02-18 16:01:01 +0530
committerArun Isaac2022-02-18 16:01:01 +0530
commit17652b17455bd58bf82d130b60b3e80c57b7f80c (patch)
tree321d8454daad048a7a75b4a40da4228e2d638ea6 /wqflask
parent843b6819bb59beda79c5849f5071dfb544280586 (diff)
downloadgenenetwork2-17652b17455bd58bf82d130b60b3e80c57b7f80c.tar.gz
wqflask: Remove python pre-2.2 checks.
These checks are only relevant for python pre-2.2. * wqflask/utility/svg.py: Remove python pre-2.2 checks.
Diffstat (limited to 'wqflask')
-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.