wenwj0 commented on code in PR #3751: URL: https://github.com/apache/ambari/pull/3751#discussion_r1341978059
########## ambari-agent/src/main/python/ambari_agent/alerts/web_alert.py: ########## @@ -20,9 +20,9 @@ import logging import time -import urllib2 +import urllib.request, urllib.error, urllib.parse -from urllib2 import HTTPError +from urllib.error import HTTPError from tempfile import gettempdir from alerts.base_alert import BaseAlert Review Comment: both these two way are work. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
