Changeset 79663 in vbox
- Timestamp:
- Jul 10, 2019 8:41:29 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 131971
- Location:
- trunk/src/VBox/ValidationKit/tests/storage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/storage/remoteexecutor.py
r79602 r79663 64 64 if isinstance(sText, array.array): 65 65 try: 66 return s Text.tostring();66 return str(sText.tostring()); # tostring() returns bytes with python3. 67 67 except: 68 68 pass; 69 else: 70 return sText; 69 elif isinstance(sText, bytes): 70 return sText.decode('utf-8'); 71 72 return sText; 71 73 72 74 def read(self, cb): -
trunk/src/VBox/ValidationKit/tests/storage/storagecfg.py
r79603 r79663 488 488 if not self.oDiskCfg.isCfgStaticDir(): 489 489 # Destroy all volumes first. 490 for sMountPoint in self.dVols.keys(): # pylint: disable=consider-iterating-dictionary490 for sMountPoint in list(self.dVols.keys()): # pylint: disable=consider-iterating-dictionary 491 491 self.destroyVolume(sMountPoint); 492 492 493 493 # Destroy all pools. 494 for sPool in self.dPools.keys(): # pylint: disable=consider-iterating-dictionary494 for sPool in list(self.dPools.keys()): # pylint: disable=consider-iterating-dictionary 495 495 self.destroyStoragePool(sPool); 496 496
Note:
See TracChangeset
for help on using the changeset viewer.