summaryrefslogtreecommitdiff
path: root/cherrypy/process
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-07-08 21:05:03 -0400
committerJason R. Coombs <jaraco@jaraco.com>2017-07-08 21:05:03 -0400
commit459099b5f3b4c0422c66296da129c3c8b3e70b5e (patch)
tree917205d2a215c7c59f8d4af0fda0f9f7c3ee3ef1 /cherrypy/process
parent435ceb00c34deba31efafa7ad5c1320ae704e127 (diff)
downloadcherrypy-git-459099b5f3b4c0422c66296da129c3c8b3e70b5e.tar.gz
Remove _args_from_interpreter_flags backport
Diffstat (limited to 'cherrypy/process')
-rw-r--r--cherrypy/process/wspbus.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/cherrypy/process/wspbus.py b/cherrypy/process/wspbus.py
index 634859c5..cbfbe80b 100644
--- a/cherrypy/process/wspbus.py
+++ b/cherrypy/process/wspbus.py
@@ -78,11 +78,10 @@ import threading
import time
import traceback as _traceback
import warnings
+import subprocess
import six
-from cherrypy._cpcompat import _args_from_interpreter_flags
-
# Here I save the value of os.getcwd(), which, if I am imported early enough,
# will be the directory from which the startup script was run. This is needed
@@ -421,7 +420,7 @@ class Bus(object):
"""
return ([]
if getattr(sys, 'frozen', False)
- else _args_from_interpreter_flags())
+ else subprocess._args_from_interpreter_flags())
@staticmethod
def _get_true_argv():