summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorYu Ke <ke.yu@intel.com>2011-01-18 22:41:23 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 23:36:41 +0000
commit84a521be512cc10ba13097ad251e9ce94e2df68c (patch)
tree038745d7332a62567568e1e4725abdd0b0d0a981 /lib/bb/fetch2/__init__.py
parentd6fac93d81c822de09c660269430b1aabb5594ee (diff)
downloadbitbake-84a521be512cc10ba13097ad251e9ce94e2df68c.tar.gz
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 (From Poky rev: f12e71484593039cd58b6e7fadd038b28b05d849) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/__init__.py')
-rw-r--r--lib/bb/fetch2/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index e7752ee33..d19f0e738 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/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):