Fix devstack image-cache script

Change-Id: Ia28ad64fb45234dabbb6dedd1a4c27b60f6969a7
This commit is contained in:
James E. Blair 2013-10-10 07:58:39 -07:00
parent 8bdeca836a
commit 58650028ab

View File

@ -20,7 +20,7 @@ import os
import sys
import subprocess
DEVSTACK='~/workspace-cache/devstack'
DEVSTACK=os.path.expanduser('~/workspace-cache/devstack')
def run_local(cmd, status=False, cwd='.', env={}):
print "Running:", cmd
@ -116,3 +116,6 @@ def main():
continue
run_local(['wget', '-nv', '-c', url,
'-O', '~/cache/files/%s' % fname])
if __name__ == '__main__':
main()