~wesley-wiedenmeier/curtin/vmtest-webhook-delay

« back to all changes in this revision

Viewing changes to tests/vmtests/__init__.py

  • Committer: Ryan Harper
  • Date: 2016-06-22 15:27:45 UTC
  • mfrom: (381.1.12 merge-yakkety)
  • Revision ID: ryan.harper@canonical.com-20160622152745-v3mh3f3vyj8i71j8
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
535
535
        logger.debug('')
536
536
        try:
537
537
            if os.path.exists(cls.install_log):
538
 
                with open(cls.install_log) as l:
539
 
                    install_log = l.read()
 
538
                with open(cls.install_log, 'rb') as l:
 
539
                    install_log = l.read().decode('utf-8', errors='replace')
540
540
                errmsg, errors = check_install_log(install_log)
541
541
                if errmsg:
542
542
                    for e in errors: