Changeset 86994 in vbox for trunk/src/VBox/ValidationKit/testmanager
- Timestamp:
- Nov 26, 2020 3:12:03 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 141540
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/db/partial-db-dump.py
r86993 r86994 76 76 oParser.add_option('--load-dump-into-database', dest = 'fLoadDumpIntoDatabase', action = 'store_true', 77 77 default = False, help = 'For loading instead of dumping.'); 78 oParser.add_option('-- lmza', dest = 'fLmza', action = 'store_true',79 default = False, help = ' Use LMZA instead of Deflate compression.');78 oParser.add_option('--store', dest = 'fStore', action = 'store_true', 79 default = False, help = 'Do not compress the zip file.'); 80 80 81 81 (self.oConfig, _) = oParser.parse_args(); … … 143 143 144 144 enmCompression = zipfile.ZIP_DEFLATED; 145 if self.oConfig.f Lmza:146 enmCompression = getattr(zipfile, 'ZIP_LZMA', zipfile.ZIP_DEFLATED);145 if self.oConfig.fStore: 146 enmCompression = zipfile.ZIP_STORED; 147 147 oZipFile = zipfile.ZipFile(self.oConfig.sFilename, 'w', enmCompression); 148 148
Note:
See TracChangeset
for help on using the changeset viewer.