Changeset 61838 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Jun 22, 2016 9:39:47 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108245
- Location:
- trunk/src/VBox/ValidationKit/testboxscript
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testboxscript/testboxcommons.py
r56295 r61838 67 67 Debug logging, will later be disabled by default. 68 68 """ 69 if True :69 if True is True: 70 70 if sTsPrf is None: sTsPrf = utils.getTimePrefix(); 71 71 print('[%s] %s' % (sTsPrf, sMessage,)); -
trunk/src/VBox/ValidationKit/testboxscript/testboxscript.py
r56295 r61838 93 93 # Look for --pidfile <name> and write a pid file. 94 94 sPidFile = None; 95 for i in range(len(asArgs)):95 for i, _ in enumerate(asArgs): 96 96 if asArgs[i] == '--pidfile' and i + 1 < len(asArgs): 97 97 sPidFile = asArgs[i + 1]; -
trunk/src/VBox/ValidationKit/testboxscript/testboxtasks.py
r56295 r61838 122 122 """ 123 123 self._lock(); 124 fShouldTerminate = self._fShouldTerminate ==True;124 fShouldTerminate = self._fShouldTerminate is True; 125 125 self._unlock(); 126 126 return fShouldTerminate;
Note:
See TracChangeset
for help on using the changeset viewer.