Revision 2545cdc5 snf-image-helper/inject-files.py

b/snf-image-helper/inject-files.py
52 52
def main():
53 53
    (input_file, target) = parse_arguments(sys.argv[1:])
54 54

  
55
    files = json.loads(input_file.read())
55
    files = json.load(input_file)
56 56
    for f in files:
57 57
        real_path = target + '/' + f['path']
58 58
        if os.path.lexists(real_path):

Also available in: Unified diff