Skip to content
This repository was archived by the owner on Jan 19, 2018. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion atomicapp/nulecule/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,14 +380,15 @@ def render(self, provider_key=None, dryrun=False):
if self._app:
self._app.render(provider_key=provider_key, dryrun=dryrun)
return

if self.artifacts is None:
raise NuleculeException(
"No artifacts specified in the Nulecule file")
context = self.get_context()
if provider_key and provider_key not in self.artifacts:
raise NuleculeException(
"Data for provider \"%s\" are not part of this app"
% provider_key)
context = self.get_context()
for provider in self.artifacts:
if provider_key and provider != provider_key:
continue
Expand Down