~joetalbott/britney/boottest_fetch_retry

« back to all changes in this revision

Viewing changes to boottest.py

  • Committer: Joe Talbott
  • Date: 2015-02-04 21:25:36 UTC
  • Revision ID: joe.talbott@canonical.com-20150204212536-qhww5cda9jdodovp
boottest - Add error message if fetching the manifest fails

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
            while retries > 0 and not success:
62
62
                success = self.__fetch_manifest(distribution, series)
63
63
                retries -= 1
 
64
        if not success:
 
65
            print("E: [%s] - Unable to fetch manifest: %s %s" % (
 
66
                time.asctime(), distribution, series))
64
67
 
65
68
        self._manifest = self._load()
66
69