mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-26 18:50:28 -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:
|
try:
|
||||||
import urllib.request as urlreq
|
import urllib.request as urlreq
|
||||||
except:
|
except:
|
||||||
import urllib as urlreq
|
import urllib2 as urlreq
|
||||||
|
|
||||||
MODULE_NAME = 'browser'
|
MODULE_NAME = 'browser'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user