diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-08 22:32:43 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:28 +0000 |
commit | c54117458a19d05d404ec00907a8f3e9c73a416b (patch) | |
tree | 6cc5695742a1198668b022b35c8b2a456c4f3f4f /meta/classes/packagehistory.bbclass | |
parent | 80d55bbd6ea2ff93510f3b87ea97322b0b02eaa8 (diff) | |
download | poky-c54117458a19d05d404ec00907a8f3e9c73a416b.tar.gz |
classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/packagehistory.bbclass')
-rw-r--r-- | meta/classes/packagehistory.bbclass | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/classes/packagehistory.bbclass b/meta/classes/packagehistory.bbclass index 185ab545ff..492bbac218 100644 --- a/meta/classes/packagehistory.bbclass +++ b/meta/classes/packagehistory.bbclass | |||
@@ -61,8 +61,6 @@ python emit_pkghistory() { | |||
61 | 61 | ||
62 | 62 | ||
63 | def check_pkghistory(pkg, pe, pv, pr, lastversion): | 63 | def check_pkghistory(pkg, pe, pv, pr, lastversion): |
64 | import bb | ||
65 | |||
66 | (last_pe, last_pv, last_pr) = lastversion | 64 | (last_pe, last_pv, last_pr) = lastversion |
67 | 65 | ||
68 | bb.debug(2, "Checking package history") | 66 | bb.debug(2, "Checking package history") |
@@ -72,7 +70,6 @@ def check_pkghistory(pkg, pe, pv, pr, lastversion): | |||
72 | 70 | ||
73 | 71 | ||
74 | def write_pkghistory(pkg, pe, pv, pr, d): | 72 | def write_pkghistory(pkg, pe, pv, pr, d): |
75 | import bb, os | ||
76 | bb.debug(2, "Writing package history") | 73 | bb.debug(2, "Writing package history") |
77 | 74 | ||
78 | pkghistdir = bb.data.getVar('PKGHIST_DIR', d, True) | 75 | pkghistdir = bb.data.getVar('PKGHIST_DIR', d, True) |
@@ -82,8 +79,6 @@ def write_pkghistory(pkg, pe, pv, pr, d): | |||
82 | os.makedirs(verpath) | 79 | os.makedirs(verpath) |
83 | 80 | ||
84 | def write_latestlink(pkg, pe, pv, pr, d): | 81 | def write_latestlink(pkg, pe, pv, pr, d): |
85 | import bb, os | ||
86 | |||
87 | pkghistdir = bb.data.getVar('PKGHIST_DIR', d, True) | 82 | pkghistdir = bb.data.getVar('PKGHIST_DIR', d, True) |
88 | 83 | ||
89 | def rm_link(path): | 84 | def rm_link(path): |