Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 16 lines 788 B view raw
1diff --git a/sickgear.py b/sickgear.py 2index c37e2b01..d69704a3 100755 3--- a/sickgear.py 4+++ b/sickgear.py 5@@ -41,10 +41,7 @@ versions = [((3, 8, 0), (3, 8, 16)), 6 ((3, 10, 0), (3, 11, 3))] # inclusive version ranges 7 if not any(list(map(lambda v: v[0] <= sys.version_info[:3] <= v[1], versions))) and not int(os.environ.get('PYT', 0)): 8 major, minor, micro = sys.version_info[:3] 9- print('Python %s.%s.%s detected.' % (major, minor, micro)) 10- print('Sorry, SickGear requires a Python version %s' % ', '.join(map( 11- lambda r: '%s - %s' % tuple(map(lambda v: str(v).replace(',', '.')[1:-1], r)), versions))) 12- sys.exit(1) 13+ pass 14 15 sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib'))) 16 is_win = 'win' == sys.platform[0:3]