Ignore:
Timestamp:
Nov 22, 2009, 4:07:22 PM (15 years ago)
Author:
broder
Message:

In the invirtibuilder, take advantage of the getBinaries function in
aptCopy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dev/invirtibuilder

    r2544 r2545  
    9696def aptCopy(packages, dst_pocket, src_pocket):
    9797    """Copy a package from one pocket to another."""
    98     binaries = []
    99     for line in b.getGitFile(package, commit, 'debian/control').split('\n'):
    100         m = re.match('Package: (.*)$')
    101         if m:
    102             binaries.append(m.group(1))
    103 
     98    binaries = getBinaries(package, commit)
    10499    cpatureOutput(['reprepro-env', 'copy',
    105100                   b.pocketToApt(dst_pocket),
Note: See TracChangeset for help on using the changeset viewer.