diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2017-07-08 21:05:03 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-07-08 21:05:03 -0400 |
| commit | 459099b5f3b4c0422c66296da129c3c8b3e70b5e (patch) | |
| tree | 917205d2a215c7c59f8d4af0fda0f9f7c3ee3ef1 /cherrypy/process | |
| parent | 435ceb00c34deba31efafa7ad5c1320ae704e127 (diff) | |
| download | cherrypy-git-459099b5f3b4c0422c66296da129c3c8b3e70b5e.tar.gz | |
Remove _args_from_interpreter_flags backport
Diffstat (limited to 'cherrypy/process')
| -rw-r--r-- | cherrypy/process/wspbus.py | 5 |
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(): |
