File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,12 @@ def is_version_gt(version):
75
75
def is_x (recipe , ** kwargs ):
76
76
return LooseVersion (recipe .version ) > version
77
77
78
- def is_version_gt (version ):
78
+ def is_version_lt (version ):
79
79
def is_x (recipe , ** kwargs ):
80
80
return LooseVersion (recipe .version ) < version
81
+ return is_x
81
82
82
83
def version_starts_with (version ):
83
84
def is_x (recipe , ** kwargs ):
84
85
return recipe .version .startswith (version )
86
+ return is_x
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class Python3Recipe(GuestPythonRecipe):
26
26
patches = [
27
27
# Python 3.7.1
28
28
('patches/py3.7.1_fix-ctypes-util-find-library.patch' , version_starts_with ("3.7" )),
29
- ('patches/py3.7.1_fix-zlib-version.patch' , version_starts_with ("3.7" ))
29
+ ('patches/py3.7.1_fix-zlib-version.patch' , version_starts_with ("3.7" )),
30
30
31
31
# Python 3.8.1
32
32
('patches/py3.8.1.patch' , version_starts_with ("3.8" ))
You can’t perform that action at this time.
0 commit comments