Changeset 87673 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Feb 10, 2021 10:14:50 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142715
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/storage/tdStorageRawDrive1.py
r87672 r87673 980 980 except: pass; 981 981 asLines = aBuf.splitlines(); 982 oRegExp = re.compile("^\s*([^:]+)\s*:\s*(.+)\s*$"); 983 984 class ParseState: 982 oRegExp = re.compile(r'^\s*([^:]+)\s*:\s*(.+)\s*$'); 983 984 # pylint: disable=no-init 985 class ParseState(object): 985 986 Nothing = 0; 986 987 Drive = 1; … … 1020 1021 sPart = sPart.replace('$(' + str(idxPartition + 1) + ')', 1021 1022 str(asHddData['Partitions']['PartitionNumbers'][idxPartition])); 1022 if (sLine.strip() == sPart):1023 if sLine.strip() == sPart: 1023 1024 idxPartition += 1; 1024 1025 continue; … … 1045 1046 return reporter.error("VMDK descriptor has invalid format"); 1046 1047 1047 class DescriptorParseState: 1048 # pylint: disable=no-init 1049 class DescriptorParseState(object): 1048 1050 Header = 1, 1049 1051 Extent = 2,
Note:
See TracChangeset
for help on using the changeset viewer.