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/tinderclient.bbclass | |
parent | 80d55bbd6ea2ff93510f3b87ea97322b0b02eaa8 (diff) | |
download | openembedded-core-c54117458a19d05d404ec00907a8f3e9c73a416b.tar.gz openembedded-core-c54117458a19d05d404ec00907a8f3e9c73a416b.tar.bz2 openembedded-core-c54117458a19d05d404ec00907a8f3e9c73a416b.zip |
classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/tinderclient.bbclass')
-rw-r--r-- | meta/classes/tinderclient.bbclass | 8 |
1 files changed, 2 insertions, 6 deletions
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) |