summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes/gitpkgv.bbclass
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-11-25 15:28:52 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2016-12-02 09:16:17 +0100
commitefd3696e70a6603f1a45faa4a172433514f0a487 (patch)
treeb72751ba93b050391db05a8e1be7506836b6d515 /meta-oe/classes/gitpkgv.bbclass
parent761639b9d7681c81dd69eaf3a37c32791d6e97fd (diff)
downloadmeta-openembedded-efd3696e70a6603f1a45faa4a172433514f0a487.tar.gz
remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Diffstat (limited to 'meta-oe/classes/gitpkgv.bbclass')
-rw-r--r--meta-oe/classes/gitpkgv.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass
index 8cd4bfd1ed..3949b43c24 100644
--- a/meta-oe/classes/gitpkgv.bbclass
+++ b/meta-oe/classes/gitpkgv.bbclass
@@ -52,14 +52,14 @@ def get_git_pkgv(d, use_tags):
52 import bb 52 import bb
53 from pipes import quote 53 from pipes import quote
54 54
55 src_uri = d.getVar('SRC_URI', 1).split() 55 src_uri = d.getVar('SRC_URI').split()
56 fetcher = bb.fetch2.Fetch(src_uri, d) 56 fetcher = bb.fetch2.Fetch(src_uri, d)
57 ud = fetcher.ud 57 ud = fetcher.ud
58 58
59 # 59 #
60 # If SRCREV_FORMAT is set respect it for tags 60 # If SRCREV_FORMAT is set respect it for tags
61 # 61 #
62 format = d.getVar('SRCREV_FORMAT', True) 62 format = d.getVar('SRCREV_FORMAT')
63 if not format: 63 if not format:
64 names = [] 64 names = []
65 for url in ud.values(): 65 for url in ud.values():