-
Committer:
Soren Hansen
-
Date:
2009-08-10 12:02:01 UTC
-
Revision ID:
soren@canonical.com-20090810120201-vusk5xgac4sni5i6
Use urllib2 instead of urllib so that HTTP errors appear as exceptions.
Add a new function: wait_or_bail which will wait for the meta-data service
or call the bailout command if the meta-data service never shows up.
Remove the wait_or_bail code from __init__.