mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-23 01:06:31 -06:00
On Python 2, use urllib2 instead of urllib, which allows us to specify timeout
parameter.
This commit is contained in:
parent
328428ab22
commit
09bdf1fab7
@ -25,7 +25,7 @@ import config
|
||||
try:
|
||||
import urllib.request as urlreq
|
||||
except:
|
||||
import urllib as urlreq
|
||||
import urllib2 as urlreq
|
||||
|
||||
MODULE_NAME = 'browser'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user