Commit 0f1edbf2 authored by Kristopher Ruzic's avatar Kristopher Ruzic

fix typo that has been plaguing me Forgetting to do so can lead to a lot of headaches

parent b0341224
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
# BEWARE: This file is operated by slapgrid # BEWARE: This file is operated by slapgrid
# BEWARE: It will be overwritten automatically # BEWARE: It will be overwritten automatically
import ast import ast
import hashlib import hashlib
import os import os
...@@ -15,7 +18,7 @@ import glob ...@@ -15,7 +18,7 @@ import glob
import re import re
if '%{is-packer}s': if ast.literal_eval('%(is-packer)s'):
packer_dict = {} packer_dict = {}
packer_dict["disk_size"] = '%(disk-size)s' packer_dict["disk_size"] = '%(disk-size)s'
...@@ -328,7 +331,7 @@ else: ...@@ -328,7 +331,7 @@ else:
# if the software release type was defined as packer # if the software release type was defined as packer
# we need to do a bit more work # we need to do a bit more work
if '%{is-packer}s': if '%(is-packer)s':
packer_dict["qemuargs"] = filter(None, widen(kvm_argument_list)) packer_dict["qemuargs"] = filter(None, widen(kvm_argument_list))
print 'Generating Packer json with qemu args: ' print 'Generating Packer json with qemu args: '
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment