]> git.pld-linux.org Git - packages/xpra.git/blob - python3-version.patch
- fix python 3 version detection
[packages/xpra.git] / python3-version.patch
1 --- xpra-2.5.3/setup.py~        2022-04-04 08:41:27.000000000 +0200
2 +++ xpra-2.5.3/setup.py 2022-04-04 08:43:53.267150608 +0200
3 @@ -30,7 +30,7 @@
4  
5  if sys.version<'2.7':
6      raise Exception("xpra no longer supports Python 2 versions older than 2.7")
7 -if sys.version[0]=='3' and sys.version<'3.4':
8 +if sys.version_info[:3] < (3, 4, 0):
9      raise Exception("xpra no longer supports Python 3 versions older than 3.4")
10  #we don't support versions of Python without the new ssl code:
11  if not hasattr(ssl, "SSLContext"):
This page took 0.052846 seconds and 3 git commands to generate.