Skip to content

Commit

Permalink
patch subprocess to avoid error on .communicate
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyroberts committed Mar 12, 2015
1 parent 286587c commit 7bad41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _set_source_root(source_root):
)
if len(sys.argv) > 1 and sys.argv[1] in GEVENT_COMMANDS:
from restkit.session import set_session; set_session("gevent")
from gevent.monkey import patch_all; patch_all()
from gevent.monkey import patch_all; patch_all(subprocess=True)

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
from django.core.management import execute_from_command_line
Expand Down

0 comments on commit 7bad41c

Please sign in to comment.