From 17652b17455bd58bf82d130b60b3e80c57b7f80c Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 18 Feb 2022 16:01:01 +0530 Subject: 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. --- wqflask/utility/svg.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'wqflask/utility/svg.py') 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. -- cgit v1.2.3