You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
355 B

  1. --- a/uwsgiconfig.py
  2. +++ b/uwsgiconfig.py
  3. @@ -5,9 +5,9 @@ uwsgi_version = '2.0.19.1'
  4. import os
  5. import re
  6. import time
  7. -uwsgi_os = os.uname()[0]
  8. -uwsgi_os_k = re.split('[-+_]', os.uname()[2])[0]
  9. -uwsgi_os_v = os.uname()[3]
  10. +uwsgi_os = "Linux"
  11. +uwsgi_os_k = os.environ['LINUX_UNAME_VERSION']
  12. +uwsgi_os_v = "Linux"
  13. uwsgi_cpu = os.uname()[4]
  14. import sys