X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/blobdiff_plain/a75b7dcc80d59c47937221b7bdecbebda7b62fab..ab38b956a35fade013259fc795894589175b3d95:/invirtibuilder diff --git a/invirtibuilder b/invirtibuilder index 1a77e74..61efa9f 100755 --- a/invirtibuilder +++ b/invirtibuilder @@ -26,6 +26,8 @@ principal is the Kerberos principal that requested the build. """ +from __future__ import with_statement + import contextlib import os import re @@ -180,7 +182,7 @@ def updateSuperrepo(pocket, package, commit, principal): Note that there's no locking issue here, because we disallow all pushes to the superrepo. """ - superrepo = os.path.join(b._REPO_DIR, 'packages.git') + superrepo = os.path.join(b._REPO_DIR, 'invirt/packages.git') branch = b.pocketToGit(pocket) tree = c.captureOutput(['git', 'ls-tree', branch], cwd=superrepo)