Merge pull request #1006 from kjkuan/workaround-urllib-bug

Workaround http://bugs.python.org/issue9405 on OS X.
This commit is contained in:
mdipierro
2015-07-02 06:38:18 -05:00
+5
View File
@@ -1058,6 +1058,11 @@ def start_schedulers(options):
print 'starting single-scheduler for "%s"...' % app_
run(app_, True, True, None, False, code)
return
# Work around OS X problem: http://bugs.python.org/issue9405
import urllib
urllib.getproxies()
for app in apps:
app_, code = get_code_for_scheduler(app, options)
if not app_: