summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/fetch
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-06-20 12:07:34 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:37 +0100
commitecbd5ca720ce28284280dc60013b3f60e9dd934f (patch)
tree00759b5193c3aeea2f7213a8df8596f23ad1cbc5 /bitbake/lib/bb/fetch
parentef1de9ecaf73e28234d284b79ec45e084d0f0c53 (diff)
downloadopenembedded-core-ecbd5ca720ce28284280dc60013b3f60e9dd934f.tar.gz
openembedded-core-ecbd5ca720ce28284280dc60013b3f60e9dd934f.tar.bz2
openembedded-core-ecbd5ca720ce28284280dc60013b3f60e9dd934f.zip
3.0 prep
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r--bitbake/lib/bb/fetch/__init__.py25
-rw-r--r--bitbake/lib/bb/fetch/perforce.py1
2 files changed, 14 insertions, 12 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index 651fea8873..31b9653793 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -24,6 +24,7 @@ BitBake build tools.
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
+from __future__ import absolute_import
from __future__ import print_function
import os, re
import bb
@@ -727,18 +728,18 @@ class Fetch(object):
key = self._revision_key(url, ud, d)
return "%s-%s" % (key, bb.data.getVar("PN", d, True) or "")
-import cvs
-import git
-import local
-import svn
-import wget
-import svk
-import ssh
-import perforce
-import bzr
-import hg
-import osc
-import repo
+from . import cvs
+from . import git
+from . import local
+from . import svn
+from . import wget
+from . import svk
+from . import ssh
+from . import perforce
+from . import bzr
+from . import hg
+from . import osc
+from . import repo
methods.append(local.Local())
methods.append(wget.Wget())
diff --git a/bitbake/lib/bb/fetch/perforce.py b/bitbake/lib/bb/fetch/perforce.py
index 5b6c601876..1c74cff349 100644
--- a/bitbake/lib/bb/fetch/perforce.py
+++ b/bitbake/lib/bb/fetch/perforce.py
@@ -25,6 +25,7 @@ BitBake build tools.
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
+from future_builtins import zip
import os
import bb
from bb import data