From c54117458a19d05d404ec00907a8f3e9c73a416b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 8 Nov 2009 22:32:43 +0000 Subject: classes: Remove and sanitise import statements Signed-off-by: Richard Purdie --- meta/classes/tinderclient.bbclass | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'meta/classes/tinderclient.bbclass') diff --git a/meta/classes/tinderclient.bbclass b/meta/classes/tinderclient.bbclass index bc004efb26..28df0f9505 100644 --- a/meta/classes/tinderclient.bbclass +++ b/meta/classes/tinderclient.bbclass @@ -51,8 +51,7 @@ def tinder_format_http_post(d,status,log): for the tinderbox to be happy. """ - from bb import data, build - import os,random + import random # the variables we will need to send on this form post variables = { @@ -125,7 +124,6 @@ def tinder_build_start(d): report = report[report.find(search)+len(search):] report = report[0:report.find("'")] - import bb bb.note("Machine ID assigned by tinderbox: %s" % report ) # now we will need to save the machine number @@ -165,7 +163,6 @@ def tinder_print_info(d): """ from bb import data - import os # get the local vars time = tinder_time_string() @@ -216,7 +213,6 @@ def tinder_print_env(): Print the environment variables of this build """ from bb import data - import os time_start = tinder_time_string() time_end = tinder_time_string() @@ -278,7 +274,7 @@ def tinder_do_tinder_report(event): """ from bb.event import getName from bb import data, mkdirhier, build - import os, glob + import glob # variables name = getName(event) -- cgit v1.2.3-54-g00ecf