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/lib/bb | |
parent | 6ec0e55375c9687c7ead49d1e01f81b197db7108 (diff) | |
download | poky-232b6f3c92928c333ad1201aa8eb3706e7251cdf.tar.gz |
fetch2: add runfetchcmd to import for fetchers
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb')
-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 | |||
28 | import logging | 28 | import logging |
29 | import bb | 29 | import bb |
30 | from bb import data | 30 | from bb import data |
31 | from bb.fetch2 import FetchMethod, FetchError, runfetchcmd, logger | 31 | from bb.fetch2 import FetchMethod |
32 | from bb.fetch2 import FetchError | ||
33 | from bb.fetch2 import runfetchcmd | ||
34 | from bb.fetch2 import logger | ||
32 | 35 | ||
33 | class Bzr(FetchMethod): | 36 | class 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 | |||
31 | import bb | 31 | import bb |
32 | from bb import data | 32 | from bb import data |
33 | from bb.fetch2 import FetchMethod, FetchError, MissingParameterError, logger | 33 | from bb.fetch2 import FetchMethod, FetchError, MissingParameterError, logger |
34 | from bb.fetch2 import runfetchcmd | ||
34 | 35 | ||
35 | class Cvs(FetchMethod): | 36 | class 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 | |||
33 | from bb.fetch2 import FetchMethod | 33 | from bb.fetch2 import FetchMethod |
34 | from bb.fetch2 import FetchError | 34 | from bb.fetch2 import FetchError |
35 | from bb.fetch2 import logger | 35 | from bb.fetch2 import logger |
36 | from bb.fetch2 import runfetchcmd | ||
36 | 37 | ||
37 | class Perforce(FetchMethod): | 38 | class 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 | |||
40 | from bb import data | 40 | from bb import data |
41 | from bb.fetch2 import FetchMethod | 41 | from bb.fetch2 import FetchMethod |
42 | from bb.fetch2 import FetchError | 42 | from bb.fetch2 import FetchError |
43 | from bb.fetch2 import logger | ||
44 | from 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 | |||
33 | from bb.fetch2 import FetchError | 33 | from bb.fetch2 import FetchError |
34 | from bb.fetch2 import MissingParameterError | 34 | from bb.fetch2 import MissingParameterError |
35 | from bb.fetch2 import logger | 35 | from bb.fetch2 import logger |
36 | from bb.fetch2 import runfetchcmd | ||
36 | 37 | ||
37 | class Svk(FetchMethod): | 38 | class 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 | |||
30 | import bb | 30 | import bb |
31 | import urllib | 31 | import urllib |
32 | from bb import data | 32 | from bb import data |
33 | from bb.fetch2 import FetchMethod, FetchError, encodeurl, decodeurl, logger, runfetchcmd | 33 | from bb.fetch2 import FetchMethod |
34 | from bb.fetch2 import FetchError | ||
35 | from bb.fetch2 import encodeurl | ||
36 | from bb.fetch2 import decodeurl | ||
37 | from bb.fetch2 import logger | ||
38 | from bb.fetch2 import runfetchcmd | ||
34 | 39 | ||
35 | class Wget(FetchMethod): | 40 | class Wget(FetchMethod): |
36 | """Class to fetch urls via 'wget'""" | 41 | """Class to fetch urls via 'wget'""" |