Changeset 84571 in vbox for trunk/src/VBox/ValidationKit/tests
- Timestamp:
- May 27, 2020 3:58:24 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138301
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r84563 r84571 66 66 """ 67 67 if not isinstance(sString, str): 68 return "";68 sString = str(sString); 69 69 cLen = len(sString); 70 if not cLen: 71 return cLen; 70 72 return (sString[:cLimit] + '...[%d more]' % (cLen - cLimit)) if cLen > cLimit else sString; 71 73
Note:
See TracChangeset
for help on using the changeset viewer.