See https://groups.google.com/forum/#!topic/web2py/WSjhhDet1UM
for context.
This commit is contained in:
Jack Kuan
2015-06-30 10:56:31 -04:00
parent 7543c54bdb
commit da9dbaa5d6
+5
View File
@@ -1058,6 +1058,11 @@ def start_schedulers(options):
print 'starting single-scheduler for "%s"...' % app_ print 'starting single-scheduler for "%s"...' % app_
run(app_, True, True, None, False, code) run(app_, True, True, None, False, code)
return return
# Work around OS X problem: http://bugs.python.org/issue9405
import urllib
urllib.getproxies()
for app in apps: for app in apps:
app_, code = get_code_for_scheduler(app, options) app_, code = get_code_for_scheduler(app, options)
if not app_: if not app_: