[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4265/8267] oe-build-perf-test: remove unused imports and fix indent



commit 8e01802c9f5dc3ed0a15cfc0dca4fc042610c847
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date:   Wed Dec 28 17:04:02 2016 +0200

    oe-build-perf-test: remove unused imports and fix indent
    
    [YOCTO #10590]
    
    (From OE-Core rev: 0b1892fa9165407a156609ff7cb3708e21bacd8c)
    
    Signed-off-by: Markus Lehtonen <markus lehtonen linux intel com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/lib/oeqa/buildperf/base.py |    7 ++-----
 scripts/oe-build-perf-test      |    1 -
 2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index 4027fdb..f6faedb 100644
--- a/meta/lib/oeqa/buildperf/base.py
+++ b/meta/lib/oeqa/buildperf/base.py
@@ -10,16 +10,13 @@
 # more details.
 #
 """Build performance test base classes and functionality"""
-import glob
 import json
 import logging
 import os
 import re
 import resource
-import shutil
 import socket
 import time
-import traceback
 import unittest
 import xml.etree.ElementTree as ET
 from datetime import datetime, timedelta
@@ -506,5 +503,5 @@ class BuildPerfTestRunner(unittest.TextTestRunner):
         self.out_dir = out_dir
 
     def _makeResult(self):
-       return BuildPerfTestResult(self.out_dir, self.stream, self.descriptions,
-                                  self.verbosity)
+        return BuildPerfTestResult(self.out_dir, self.stream, self.descriptions,
+                                   self.verbosity)
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index fc4ab31..f3867ab 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -23,7 +23,6 @@ import os
 import re
 import shutil
 import sys
-import unittest
 from datetime import datetime
 
 sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)) + '/lib')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]