VirtualBox

Ignore:
Timestamp:
Jun 29, 2016 5:12:28 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108381
Message:

grr, more, unicode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py

    r61940 r61941  
    279279        print 'error: %s' % (sText,);
    280280        if self.oLogFile is not None:
    281             self.oLogFile.write(u'error: %s\n' % (sText,));
     281            self.oLogFile.write((u'error: %s\n' % (sText,)).encode('utf-8'));
    282282        return 1;
    283283
     
    290290                print 'debug: %s' % (sText, );
    291291            if self.oLogFile is not None:
    292                 self.oLogFile.write(u'debug: %s\n' % (sText,));
     292                self.oLogFile.write((u'debug: %s\n' % (sText,)).encode('utf-8'));
    293293        return 0;
    294294
     
    300300            print 'info: %s' % (sText,);
    301301        if self.oLogFile is not None:
    302             self.oLogFile.write(u'info: %s\n' % (sText,));
     302            self.oLogFile.write((u'info: %s\n' % (sText,)).encode('utf-8'));
    303303        return 0;
    304304
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette