commit | 823f502dd8e1f28702e99d7af98bcbde040a2a72 | [log] [tgz] |
---|---|---|
author | You Wang <you@onlab.us> | Thu Aug 18 15:24:41 2016 -0700 |
committer | You Wang <you@onlab.us> | Thu Aug 18 15:24:41 2016 -0700 |
tree | a2650b7f5cc2ac8c8f6b8c611eb3b809638ffbfe | |
parent | ce7e5130ec4f437b011a178bfcde0455e21707e1 [diff] |
Fix removeDevice function in onosclidriver Change-Id: I200c7e2c0f0e7f6b1a8f2250fbcde5a84b70ff32
diff --git a/TestON/drivers/common/cli/onosclidriver.py b/TestON/drivers/common/cli/onosclidriver.py index 5ed20ef..301eb43 100755 --- a/TestON/drivers/common/cli/onosclidriver.py +++ b/TestON/drivers/common/cli/onosclidriver.py
@@ -4696,7 +4696,9 @@ ''' try: if type( device ) is str: - device = list( device ) + deviceStr = device + device = [] + device.append( deviceStr ) for d in device: time.sleep( 1 )