From: Sujith H Date: Wed, 27 Jul 2016 06:16:29 +0000 (+0000) Subject: toaster: add local_source_dir to the needed_fields X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4350b01f776e6e35745c3eb9440587973de00eec;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: add local_source_dir to the needed_fields This change will help us know if local_source_dir is null or if there is value associated with this field. This change will help us display the details for duplicate layers tryied to import locally. [YOCOT #9911] Signed-off-by: Sujith H --- diff --git a/lib/toaster/toastergui/typeaheads.py b/lib/toaster/toastergui/typeaheads.py index dd4b7f50571..4ded9ac2e61 100644 --- a/lib/toaster/toastergui/typeaheads.py +++ b/lib/toaster/toastergui/typeaheads.py @@ -55,6 +55,7 @@ class LayersTypeAhead(ToasterTypeAhead): 'vcs_url' : layer_version.layer.vcs_url, 'vcs_reference' : vcs_reference, 'detail' : detail, + 'local_source_dir' : layer_version.layer.local_source_dir, } results.append(needed_fields)