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

packageWorkdir needs to be passed the commit to make a workdir from.

File:
1 edited

Legend:

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

    r2820 r2835  
    213213
    214214@contextlib.contextmanager
    215 def packageWorkdir(package):
     215def packageWorkdir(package, commit):
    216216    """Checkout the package in a temporary working directory.
    217217
     
    301301            else:
    302302                db.failed_stage = 'checking out package source'
    303                 with packageWorkdir(package) as workdir:
     303                with packageWorkdir(package, commit) as workdir:
    304304                    db.failed_stage = 'preparing source package'
    305305                    packagedir = os.path.join(workdir, package)
Note: See TracChangeset for help on using the changeset viewer.