Ensure extra_vars is initiated.

This commit is contained in:
Luke Sneeringer
2015-01-05 16:51:11 -06:00
parent 21d45b828f
commit 86a47bb11c

View File

@@ -449,6 +449,7 @@ class Job(UnifiedJob, JobOptions):
return dependencies
def handle_extra_data(self, extra_data):
extra_vars = {}
if type(extra_data) == dict:
extra_vars = extra_data
elif extra_data is None: