summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/metadata.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils/metadata.py')
-rw-r--r--meta/lib/oeqa/utils/metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/metadata.py b/meta/lib/oeqa/utils/metadata.py
index ecbe763c0f..5d8bf84755 100644
--- a/meta/lib/oeqa/utils/metadata.py
+++ b/meta/lib/oeqa/utils/metadata.py
@@ -5,7 +5,6 @@
5# Functions to get metadata from the testing host used 5# Functions to get metadata from the testing host used
6# for analytics of test results. 6# for analytics of test results.
7 7
8from git import Repo, InvalidGitRepositoryError, NoSuchPathError
9from collections import OrderedDict 8from collections import OrderedDict
10from collections.abc import MutableMapping 9from collections.abc import MutableMapping
11from xml.dom.minidom import parseString 10from xml.dom.minidom import parseString
@@ -46,6 +45,7 @@ def metadata_from_data_store(d):
46 45
47def get_layers(layers): 46def get_layers(layers):
48 """ Returns layer name, branch, and revision as OrderedDict. """ 47 """ Returns layer name, branch, and revision as OrderedDict. """
48 from git import Repo, InvalidGitRepositoryError, NoSuchPathError
49 49
50 layer_dict = OrderedDict() 50 layer_dict = OrderedDict()
51 for layer in layers.split(): 51 for layer in layers.split():