summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/repo.py')
-rw-r--r--bitbake/lib/bb/fetch2/repo.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/fetch2/repo.py b/bitbake/lib/bb/fetch2/repo.py
index 8300da8c5a..21678eb7d9 100644
--- a/bitbake/lib/bb/fetch2/repo.py
+++ b/bitbake/lib/bb/fetch2/repo.py
@@ -31,7 +31,7 @@ from bb.fetch2 import runfetchcmd
31 31
32class Repo(FetchMethod): 32class Repo(FetchMethod):
33 """Class to fetch a module or modules from repo (git) repositories""" 33 """Class to fetch a module or modules from repo (git) repositories"""
34 def supports(self, url, ud, d): 34 def supports(self, ud, d):
35 """ 35 """
36 Check to see if a given url can be fetched with repo. 36 Check to see if a given url can be fetched with repo.
37 """ 37 """
@@ -53,7 +53,7 @@ class Repo(FetchMethod):
53 53
54 ud.localfile = data.expand("repo_%s%s_%s_%s.tar.gz" % (ud.host, ud.path.replace("/", "."), ud.manifest, ud.branch), d) 54 ud.localfile = data.expand("repo_%s%s_%s_%s.tar.gz" % (ud.host, ud.path.replace("/", "."), ud.manifest, ud.branch), d)
55 55
56 def download(self, loc, ud, d): 56 def download(self, ud, d):
57 """Fetch url""" 57 """Fetch url"""
58 58
59 if os.access(os.path.join(data.getVar("DL_DIR", d, True), ud.localfile), os.R_OK): 59 if os.access(os.path.join(data.getVar("DL_DIR", d, True), ud.localfile), os.R_OK):
@@ -91,8 +91,8 @@ class Repo(FetchMethod):
91 def supports_srcrev(self): 91 def supports_srcrev(self):
92 return False 92 return False
93 93
94 def _build_revision(self, url, ud, d): 94 def _build_revision(self, ud, d):
95 return ud.manifest 95 return ud.manifest
96 96
97 def _want_sortable_revision(self, url, ud, d): 97 def _want_sortable_revision(self, ud, d):
98 return False 98 return False