Changeset 96576 in vbox for trunk/src/VBox/ValidationKit/testmanager
- Timestamp:
- Sep 2, 2022 9:59:17 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/batch/maintain_archived_testsets.py
r96575 r96576 107 107 """ 108 108 109 fRc = True; 110 109 111 # Rename the destination file first (if any). 110 112 sDstFileTmp = None; … … 114 116 if not fForce: 115 117 print('Replace file: Warning: Temporary destination file "%s" already exists, skipping' % (sDstFileTmp,)); 116 returnFalse;118 fRc = False; 117 119 else: 118 120 try: … … 120 122 except Exception as e: 121 123 print('Replace file: Error deleting old temporary destination file "%s": %s' % (sDstFileTmp, e)); 122 returnFalse;124 fRc = False; 123 125 try: 124 126 if not fDryRun: … … 127 129 print('Replace file: Error moving old destination file "%s" to temporary file "%s": %s' \ 128 130 % (sDstFile, sDstFileTmp, e)); 129 return False; 130 131 fRc = True; 131 fRc = False; 132 133 if not fRc: 134 return False; 132 135 133 136 try:
Note:
See TracChangeset
for help on using the changeset viewer.