changeset 1841 | 9fd29e8b1393 |
parent 1832 | 0f1081928d65 |
child 1847 | 6198190bc121 |
--- a/svgui/pyjs/lib/pyjslib.py Mon Oct 02 12:43:01 2017 +0300 +++ b/svgui/pyjs/lib/pyjslib.py Mon Oct 02 13:19:06 2017 +0300 @@ -598,7 +598,6 @@ def sort(self, compareFunc=None, keyFunc=None, reverse=False): if not compareFunc: - global cmp compareFunc = cmp if keyFunc and reverse: def thisSort1(a, b): @@ -749,7 +748,6 @@ def sort(self, compareFunc=None, keyFunc=None, reverse=False): if not compareFunc: - global cmp compareFunc = cmp if keyFunc and reverse: def thisSort1(a, b):