- Timestamp:
- Jul 12, 2016 9:03:20 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py
r62100 r62180 136 136 """ 137 137 try: 138 oIMedium = self.o VBox.findHardDisk(sHdLocation);138 oIMedium = self.o.findHardDisk(sHdLocation); 139 139 except: 140 140 try: 141 141 if self.fpApiVer >= 4.1: 142 oIMedium = self.o VBox.openMedium(sHdLocation, vboxcon.DeviceType_HardDisk,143 142 oIMedium = self.o.openMedium(sHdLocation, vboxcon.DeviceType_HardDisk, 143 vboxcon.AccessMode_ReadWrite, False); 144 144 elif self.fpApiVer >= 4.0: 145 oIMedium = self.o VBox.openMedium(sHdLocation, vboxcon.DeviceType_HardDisk,146 145 oIMedium = self.o.openMedium(sHdLocation, vboxcon.DeviceType_HardDisk, 146 vboxcon.AccessMode_ReadWrite); 147 147 else: 148 oIMedium = self.o VBox.openHardDisk(sHdLocation, vboxcon.AccessMode_ReadOnly, False, "", False, "");148 oIMedium = self.o.openHardDisk(sHdLocation, vboxcon.AccessMode_ReadOnly, False, "", False, ""); 149 149 except: 150 150 return reporter.errorXcpt('failed to open hd "%s"' % (sHdLocation));
Note:
See TracChangeset
for help on using the changeset viewer.