Changeset 71153 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Feb 28, 2018 2:47:23 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 121048
- Location:
- trunk/src/VBox/ValidationKit/testmanager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/batch/vcs_import.py
r70660 r71153 118 118 # Parse the XML and add the entries to the database. 119 119 oParser = ET.XMLParser(target = ET.TreeBuilder(), encoding = 'utf-8'); 120 oParser.feed(sLogXml );120 oParser.feed(sLogXml.encode('utf-8')); # does its own decoding and processOutputChecked always gives us decoded utf-8 now. 121 121 oRoot = oParser.close(); 122 122 … … 128 128 if sMessage == '': 129 129 sMessage = ' '; 130 elif len(sMessage) > VcsRevisionData.kcchMax_sMessage: 131 sMessage = sMessage[:VcsRevisionData.kcchMax_sMessage - 4] + ' ...'; 130 132 if not self.oConfig.fQuiet: 131 133 print('sDate=%s iRev=%u sAuthor=%s sMsg[%s]=%s' % (sDate, iRevision, sAuthor, type(sMessage).__name__, sMessage)); -
trunk/src/VBox/ValidationKit/testmanager/core/vcsrevisions.py
r69111 r71153 52 52 kasAllowNullAttributes = [ ]; 53 53 kfAllowUnicode_sMessage = True; 54 kcchMax_sMessage = 8192; 54 55 55 56 def __init__(self):
Note:
See TracChangeset
for help on using the changeset viewer.