Skip to content

Instantly share code, notes, and snippets.

@larsks
Created July 25, 2016 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsks/2728dcf1cd0036e19472e0e1d802ed69 to your computer and use it in GitHub Desktop.
Save larsks/2728dcf1cd0036e19472e0e1d802ed69 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "./packages/brpm", line 249, in <module>
sys.exit(main())
File "./packages/brpm", line 210, in main
os.path.basename(archive_fn))
File "./packages/brpm", line 153, in generate_spec_contents
return templater.render_from_file(tmpl_fn, params=subs)
File "/home/lars/src/cloud-init/cloudinit/templater.py", line 138, in render_from_file
return renderer(content, params)
File "/home/lars/src/cloud-init/cloudinit/templater.py", line 85, in basic_render
return BASIC_MATCHER.sub(replacer, content)
File "/home/lars/src/cloud-init/cloudinit/templater.py", line 83, in replacer
return str(selected_params[key])
KeyError: u'r'
# Install pypi 'dynamic' requirements
#for $r in $requires
Requires: ${r}
#end for
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment