diff options
author | Ryan.RCS <lihainong@huawei.com> | 2016-12-16 10:06:19 +0000 |
---|---|---|
committer | Ryan.RCS <lihainong@huawei.com> | 2016-12-16 10:06:19 +0000 |
commit | ce17214c0717999ba08cd8f094499f2e4efb0712 (patch) | |
tree | 6eb3c609b8359f32e05ea879527a122d271050cb /dovetail/container.py | |
parent | 18ed566c5e1a379d5b87d3838dea82a9481ba61b (diff) |
updated the process flow of function exec_cmd
separate the log expressions to other functions
removed statements that not necessary
output error detail info in exception
Change-Id: I721611d61dee83eb5f40ee954d433073114e231a
JIRA: DOVETAIL-161
Signed-off-by: Ryan.RCS <lihainong@huawei.com>
Diffstat (limited to 'dovetail/container.py')
-rw-r--r-- | dovetail/container.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dovetail/container.py b/dovetail/container.py index 87174727..15e78818 100644 --- a/dovetail/container.py +++ b/dovetail/container.py @@ -20,10 +20,10 @@ class Container: logger = None - def __init__(cls): + def __init__(self): pass - def __str__(cls): + def __str__(self): pass @classmethod |