Changeset 2834 for trunk


Ignore:
Timestamp:
Jan 1, 2010, 7:42:01 PM (15 years ago)
Author:
broder
Message:

When validating builds, return True if the build validates, and don't
let an apt copy prevent the fast-forward and increasing-version-number
checks from running.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dev/python/invirt/builder.py

    r2593 r2834  
    8989    new_version = getVersion(package, commit)
    9090
     91    ret = True
     92
    9193    for p in config.build.pockets:
    9294        if p == pocket:
     
    100102        if current_version == new_version:
    101103            if current_commit == commit:
    102                 return p
     104                ret = p
    103105            else:
    104106                raise InvalidBuild('Version %s of %s already available in '
     
    121123                               (commit, package, pocket))
    122124
    123 
     125    return ret
Note: See TracChangeset for help on using the changeset viewer.