aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/tinderclient.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/tinderclient.bbclass')
-rw-r--r--meta/classes/tinderclient.bbclass8
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)