[Checkins] SVN: zc.buildoutsftp/branches/dev/get.py Tweaked to
properly exercise the documented urllib result API and the
Jim Fulton
jim at zope.com
Thu Sep 14 07:11:38 EDT 2006
Log message for revision 70169:
Tweaked to properly exercise the documented urllib result API and the
one used by setuptools.
Changed:
U zc.buildoutsftp/branches/dev/get.py
-=-
Modified: zc.buildoutsftp/branches/dev/get.py
===================================================================
--- zc.buildoutsftp/branches/dev/get.py 2006-09-14 11:08:24 UTC (rev 70168)
+++ zc.buildoutsftp/branches/dev/get.py 2006-09-14 11:11:38 UTC (rev 70169)
@@ -33,7 +33,10 @@
print '=' * 70
f = urllib2.urlopen(url)
print f.url
- print f.info
+ print f.geturl()
+ print f.headers
+ print f.info()
+
print
print f.read()
More information about the Checkins
mailing list