diff options
author | Yu Ke <ke.yu@intel.com> | 2011-01-18 22:41:23 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 12:25:46 +0000 |
commit | f12e71484593039cd58b6e7fadd038b28b05d849 (patch) | |
tree | d269312d2c77c10b5e90d04a82e0f782216a9a20 /bitbake/lib/bb/fetch2 | |
parent | 84ff79413a3b56f287f42b8ca1dd2ab194337c42 (diff) | |
download | openembedded-core-f12e71484593039cd58b6e7fadd038b28b05d849.tar.gz openembedded-core-f12e71484593039cd58b6e7fadd038b28b05d849.tar.bz2 openembedded-core-f12e71484593039cd58b6e7fadd038b28b05d849.tar.xz openembedded-core-f12e71484593039cd58b6e7fadd038b28b05d849.zip |
bb.fetch: add fetch version to distinguish bb.fetch and bb.fetch2
there is case that we need to distingush bb.fetch and bb.fetch2,
and use different API for bb.fetch and bb.fetch2. so it is necessary
to add version info for distinguish purpose
Signed-off-by: Yu Ke <ke.yu@intel.com>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index e7752ee33..d19f0e738 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py @@ -33,6 +33,8 @@ from bb import data from bb import persist_data from bb import utils +__version__ = "2" + logger = logging.getLogger("BitBake.Fetch") class MalformedUrl(Exception): |