From ed0dc62b690d805018b29bafb46bf438ac4a7d32 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Mon, 27 Jul 2020 17:33:44 +0530 Subject: [PATCH] Fixed incorrect import statement for urlopen. refs #5700 --- web/pgadmin/browser/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgadmin/browser/__init__.py b/web/pgadmin/browser/__init__.py index e0047daf5..b1f2b5d92 100644 --- a/web/pgadmin/browser/__init__.py +++ b/web/pgadmin/browser/__init__.py @@ -15,7 +15,7 @@ from smtplib import SMTPConnectError, SMTPResponseException, \ SMTPServerDisconnected, SMTPDataError, SMTPHeloError, SMTPException, \ SMTPAuthenticationError, SMTPSenderRefused, SMTPRecipientsRefused from socket import error as SOCKETErrorException -import urllib.request as urlopen +from urllib.request import urlopen import six from flask import current_app, render_template, url_for, make_response, \