Changeset 5a6a84e in sasview for src/sas


Ignore:
Timestamp:
Sep 22, 2017 7:12:31 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
e6e89c4
Parents:
8641070
Message:

etree returns bytes instead of unicode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/dataloader/readers/xml_reader.py

    r574adc7 r5a6a84e  
    154154        """ 
    155155        return etree.tostring(elem, pretty_print=pretty_print, 
    156                               encoding=encoding) 
     156                              encoding=encoding).decode() 
    157157 
    158158    def break_processing_instructions(self, string, dic): 
Note: See TracChangeset for help on using the changeset viewer.