summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-02-07 15:42:45 -0800
committerSaul Wold <sgw@linux.intel.com>2011-02-07 16:28:35 -0800
commit232b6f3c92928c333ad1201aa8eb3706e7251cdf (patch)
tree43ba7a72feb93bc20a9081a02211fe39655ac196
parent6ec0e55375c9687c7ead49d1e01f81b197db7108 (diff)
downloadpoky-232b6f3c92928c333ad1201aa8eb3706e7251cdf.tar.gz
fetch2: add runfetchcmd to import for fetchers
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--bitbake/lib/bb/fetch2/bzr.py5
-rw-r--r--bitbake/lib/bb/fetch2/cvs.py1
-rw-r--r--bitbake/lib/bb/fetch2/perforce.py1
-rw-r--r--bitbake/lib/bb/fetch2/ssh.py2
-rw-r--r--bitbake/lib/bb/fetch2/svk.py1
-rw-r--r--bitbake/lib/bb/fetch2/wget.py7
6 files changed, 15 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/bzr.py b/bitbake/lib/bb/fetch2/bzr.py
index e69bc4c8ec..bb175662b4 100644
--- a/bitbake/lib/bb/fetch2/bzr.py
+++ b/bitbake/lib/bb/fetch2/bzr.py
@@ -28,7 +28,10 @@ import sys
28import logging 28import logging
29import bb 29import bb
30from bb import data 30from bb import data
31from bb.fetch2 import FetchMethod, FetchError, runfetchcmd, logger 31from bb.fetch2 import FetchMethod
32from bb.fetch2 import FetchError
33from bb.fetch2 import runfetchcmd
34from bb.fetch2 import logger
32 35
33class Bzr(FetchMethod): 36class Bzr(FetchMethod):
34 def supports(self, url, ud, d): 37 def supports(self, url, ud, d):
diff --git a/bitbake/lib/bb/fetch2/cvs.py b/bitbake/lib/bb/fetch2/cvs.py
index 69c31e7561..3cd28b1fd5 100644
--- a/bitbake/lib/bb/fetch2/cvs.py
+++ b/bitbake/lib/bb/fetch2/cvs.py
@@ -31,6 +31,7 @@ import logging
31import bb 31import bb
32from bb import data 32from bb import data
33from bb.fetch2 import FetchMethod, FetchError, MissingParameterError, logger 33from bb.fetch2 import FetchMethod, FetchError, MissingParameterError, logger
34from bb.fetch2 import runfetchcmd
34 35
35class Cvs(FetchMethod): 36class Cvs(FetchMethod):
36 """ 37 """
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py
index e3e9c71da0..6347834c76 100644
--- a/bitbake/lib/bb/fetch2/perforce.py
+++ b/bitbake/lib/bb/fetch2/perforce.py
@@ -33,6 +33,7 @@ from bb import data
33from bb.fetch2 import FetchMethod 33from bb.fetch2 import FetchMethod
34from bb.fetch2 import FetchError 34from bb.fetch2 import FetchError
35from bb.fetch2 import logger 35from bb.fetch2 import logger
36from bb.fetch2 import runfetchcmd
36 37
37class Perforce(FetchMethod): 38class Perforce(FetchMethod):
38 def supports(self, url, ud, d): 39 def supports(self, url, ud, d):
diff --git a/bitbake/lib/bb/fetch2/ssh.py b/bitbake/lib/bb/fetch2/ssh.py
index 081fe1335c..2ee9ab093a 100644
--- a/bitbake/lib/bb/fetch2/ssh.py
+++ b/bitbake/lib/bb/fetch2/ssh.py
@@ -40,6 +40,8 @@ import re, os
40from bb import data 40from bb import data
41from bb.fetch2 import FetchMethod 41from bb.fetch2 import FetchMethod
42from bb.fetch2 import FetchError 42from bb.fetch2 import FetchError
43from bb.fetch2 import logger
44from bb.fetch2 import runfetchcmd
43 45
44 46
45__pattern__ = re.compile(r''' 47__pattern__ = re.compile(r'''
diff --git a/bitbake/lib/bb/fetch2/svk.py b/bitbake/lib/bb/fetch2/svk.py
index 117a22f438..6211cac8d3 100644
--- a/bitbake/lib/bb/fetch2/svk.py
+++ b/bitbake/lib/bb/fetch2/svk.py
@@ -33,6 +33,7 @@ from bb.fetch2 import FetchMethod
33from bb.fetch2 import FetchError 33from bb.fetch2 import FetchError
34from bb.fetch2 import MissingParameterError 34from bb.fetch2 import MissingParameterError
35from bb.fetch2 import logger 35from bb.fetch2 import logger
36from bb.fetch2 import runfetchcmd
36 37
37class Svk(FetchMethod): 38class Svk(FetchMethod):
38 """Class to fetch a module or modules from svk repositories""" 39 """Class to fetch a module or modules from svk repositories"""
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index 5a15147e67..cf6d5bf2a0 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -30,7 +30,12 @@ import logging
30import bb 30import bb
31import urllib 31import urllib
32from bb import data 32from bb import data
33from bb.fetch2 import FetchMethod, FetchError, encodeurl, decodeurl, logger, runfetchcmd 33from bb.fetch2 import FetchMethod
34from bb.fetch2 import FetchError
35from bb.fetch2 import encodeurl
36from bb.fetch2 import decodeurl
37from bb.fetch2 import logger
38from bb.fetch2 import runfetchcmd
34 39
35class Wget(FetchMethod): 40class Wget(FetchMethod):
36 """Class to fetch urls via 'wget'""" 41 """Class to fetch urls via 'wget'"""