Revision
133257
Author
gaurav@macports.org
Date
2015-02-24 03:23:36 -0800 (Tue, 24 Feb 2015)

Log Message

contrib/pypi2port: Suppressed Unverified request message

Modified Paths

Diff

Modified: contrib/pypi2port/pypi2port.py (133256 => 133257)


--- contrib/pypi2port/pypi2port.py	2015-02-24 02:24:18 UTC (rev 133256)
+++ contrib/pypi2port/pypi2port.py	2015-02-24 11:23:36 UTC (rev 133257)
@@ -99,7 +99,9 @@
 	url = dict['url']
 	file_name = src_dir + '/' + dict['filename']
 
+	# print("HERE")
 	r = requests.get(url)
+	
 	if r.status_code == 200	:
 		with open(file_name, 'wb') as f:
 			meta = r.headers['content-length']
@@ -276,7 +278,7 @@
 	""" Searches if the distfile listed is present or not """
 	try:
 		url = client.release_urls(name, version)[0]['url']
-		r = requests.get(url, verify=False)
+		r = requests.get(url)
 		if not r.status_code == 200:
 			raise Exception('No distfile')
 	except: