mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #728 from hobson/master
Fix code.djangoproject.com/ticket/20185
This commit is contained in:
commit
8271f492ec
@ -10,10 +10,10 @@ import re
|
|||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
try:
|
try:
|
||||||
|
from StringIO import StringIO
|
||||||
|
except:
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
from imp import reload
|
from imp import reload
|
||||||
except ImportError:
|
|
||||||
from StringIO import StringIO
|
|
||||||
|
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user