diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-02-07 15:42:45 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-02-07 16:28:35 -0800 |
commit | 232b6f3c92928c333ad1201aa8eb3706e7251cdf (patch) | |
tree | 43ba7a72feb93bc20a9081a02211fe39655ac196 /bitbake | |
parent | 6ec0e55375c9687c7ead49d1e01f81b197db7108 (diff) | |
download | openembedded-core-232b6f3c92928c333ad1201aa8eb3706e7251cdf.tar.gz openembedded-core-232b6f3c92928c333ad1201aa8eb3706e7251cdf.tar.bz2 openembedded-core-232b6f3c92928c333ad1201aa8eb3706e7251cdf.zip |
fetch2: add runfetchcmd to import for fetchers
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/bzr.py | 5 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/cvs.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/perforce.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/ssh.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/svk.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 7 |
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 import logging import bb from bb import data -from bb.fetch2 import FetchMethod, FetchError, runfetchcmd, logger +from bb.fetch2 import FetchMethod +from bb.fetch2 import FetchError +from bb.fetch2 import runfetchcmd +from bb.fetch2 import logger class Bzr(FetchMethod): 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 import bb from bb import data from bb.fetch2 import FetchMethod, FetchError, MissingParameterError, logger +from bb.fetch2 import runfetchcmd class Cvs(FetchMethod): """ 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 from bb.fetch2 import FetchMethod from bb.fetch2 import FetchError from bb.fetch2 import logger +from bb.fetch2 import runfetchcmd class Perforce(FetchMethod): 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 from bb import data from bb.fetch2 import FetchMethod from bb.fetch2 import FetchError +from bb.fetch2 import logger +from bb.fetch2 import runfetchcmd __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 from bb.fetch2 import FetchError from bb.fetch2 import MissingParameterError from bb.fetch2 import logger +from bb.fetch2 import runfetchcmd class Svk(FetchMethod): """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 import bb import urllib from bb import data -from bb.fetch2 import FetchMethod, FetchError, encodeurl, decodeurl, logger, runfetchcmd +from bb.fetch2 import FetchMethod +from bb.fetch2 import FetchError +from bb.fetch2 import encodeurl +from bb.fetch2 import decodeurl +from bb.fetch2 import logger +from bb.fetch2 import runfetchcmd class Wget(FetchMethod): """Class to fetch urls via 'wget'""" |