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>
This commit is contained in:
Yu Ke authored and Richard Purdie committed 2011-01-25 12:25:46 +00:00
1 parent 84ff79413a
commit f12e714845
2 files changed
+4

No files matched your search

+2
View File
@@ -33,6 +33,8 @@ from bb import data
from bb import persist_data
from bb import utils
__version__ = "1"
logger = logging.getLogger("BitBake.Fetch")
class MalformedUrl(Exception):
+2
View File
@@ -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):