~joetalbott/britney/boottest_like_autopkgtest

« back to all changes in this revision

Viewing changes to britney.py

  • Committer: Francis Ginther
  • Date: 2015-01-26 21:09:50 UTC
  • Revision ID: francis.ginther@canonical.com-20150126210950-8kj1i2cm0h5hyoyx
Correct copy-n-paste of 'e.' for 'excuse.'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1899
1899
                    continue
1900
1900
                # Also skip removals, binary-only candidates, proposed-updates
1901
1901
                # and unknown versions.
1902
 
                if (e.name.startswith("-") or
1903
 
                    "/" in e.name or
1904
 
                    "_" in e.name or
1905
 
                    e.ver[1] == "-"):
 
1902
                if (excuse.name.startswith("-") or
 
1903
                    "/" in excuse.name or
 
1904
                    "_" in excuse.name or
 
1905
                    excuse.ver[1] == "-"):
1906
1906
                    continue
1907
1907
                statuses = set()
1908
1908
                # Update valid excuses from the boottest context.
1921
1921
                        x for x in hints
1922
1922
                        if same_source(excuse.ver[1], x.version)]
1923
1923
                    if forces:
1924
 
                        e.addhtml(
 
1924
                        excuse.addhtml(
1925
1925
                            "Should wait for %s %s boottest, but forced by "
1926
1926
                            "%s" % (binary_name, excuse.ver[1],
1927
1927
                                    forces[0].user))