summaryrefslogtreecommitdiff
path: root/classes/patch.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-11 15:36:52 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-11 15:36:52 +0000
commit81bdf9133524e76c3239f155dca9539e68032658 (patch)
treed9e3ed5cf0f04708f0bdcdd5081659cc1ab141d1 /classes/patch.bbclass
parent59ae038eec20833a9d07c43ddd9f0109f8bc3a74 (diff)
classes: Drop some random import bb/os statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'classes/patch.bbclass')
-rw-r--r--classes/patch.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/classes/patch.bbclass b/classes/patch.bbclass
index dfb8ec960f..bb49fed7a1 100644
--- a/classes/patch.bbclass
+++ b/classes/patch.bbclass
@@ -76,8 +76,6 @@ def patch_init(d):
def __str__(self):
return "Patch Error: %s" % self.msg
- import bb, bb.data, bb.fetch
-
class PatchSet(object):
defaults = {
"strippath": 1
@@ -457,8 +455,6 @@ do_patch[depends] = "${PATCHDEPENDENCY}"
python patch_do_patch() {
import re
- import bb.fetch
-
patch_init(d)
src_uri = (bb.data.getVar('SRC_URI', d, 1) or '').split()