Ignore:
Timestamp:
Apr 11, 2017 4:11:14 AM (7 years ago)
Author:
andyfaff
Children:
9c23f40
Parents:
0741804
git-author:
Andrew Nelson <andyfaff@…> (04/07/17 05:53:49)
git-committer:
Andrew Nelson <andyfaff@…> (04/11/17 04:11:14)
Message:

PEP8: replace some 'if x == True:' by 'if x'

File:
1 edited

Legend:

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

    r9a5097c r083afa1  
    166166 
    167167    def _unit_conversion(self, value, value_unit, default_unit): 
    168         if has_converter == True and value_unit != default_unit: 
     168        if has_converter and value_unit != default_unit: 
    169169            data_conv_q = Converter(value_unit) 
    170170            value = data_conv_q(value, units=default_unit) 
Note: See TracChangeset for help on using the changeset viewer.