1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 19:32:34 +01:00

cleaning up initialize()

- standardisded on a single context argument
- removed Device.init() no longer necessary as initilize now
  automatically gets propagated up the hierarchy. Renamed the existing
  use of it to "initilize".
- related pylint cleanup.
This commit is contained in:
Sergei Trofimov
2015-06-17 17:41:24 +01:00
parent 55b38556fe
commit 73d85c2b4e
18 changed files with 46 additions and 68 deletions

View File

@@ -385,10 +385,10 @@ class Instrument(Extension):
self.is_enabled = True
self.is_broken = False
def initialize(self, context): # pylint: disable=arguments-differ
def initialize(self, context):
pass
def finalize(self, context): # pylint: disable=arguments-differ
def finalize(self, context):
pass
def __str__(self):