Changeset 77470 in vbox for trunk/src/VBox/ValidationKit/testdriver
- Timestamp:
- Feb 26, 2019 3:47:23 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129053
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r76886 r77470 30 30 __version__ = "$Revision$" 31 31 32 # pylint: disable=unnecessary-semicolon 32 33 33 34 # Standard Python imports. … … 3292 3293 fRc = True; 3293 3294 for sGstFile in asFiles: 3295 # First try to remove (unlink) an existing temporary file, as we don't truncate the file. 3296 try: os.unlink(sTmpFile); 3297 except: pass; 3294 3298 ## @todo Check for already existing files on the host and create a new 3295 3299 # name for the current file to download. … … 3297 3301 reporter.log2('Downloading file "%s" to "%s" ...' % (sGstFile, sTmpFile)); 3298 3302 fRc = self.txsDownloadFile(oSession, oTxsSession, sGstFile, sTmpFile, 30 * 1000, fIgnoreErrors); 3299 try: os.unlink(sTmpFile);3300 except: pass;3301 3303 if fRc: 3302 3304 reporter.addLogFile(sTmpFile, 'misc/other', 'guest - ' + sGstFile); … … 3822 3824 sRet = None; 3823 3825 return sRet; 3824
Note:
See TracChangeset
for help on using the changeset viewer.