##// END OF EJS Templates
diffutil: rewrite an ersatz ternary operator for building diffopts.text...
Matt Harbison -
r50793:024e0580 default
parent child Browse files
Show More
@@ -120,7 +120,7 b' def difffeatureopts('
120 )
120 )
121 buildopts[b'ignorewseol'] = get(b'ignore_space_at_eol', b'ignorewseol')
121 buildopts[b'ignorewseol'] = get(b'ignore_space_at_eol', b'ignorewseol')
122 if formatchanging:
122 if formatchanging:
123 buildopts[b'text'] = opts and opts.get(b'text')
123 buildopts[b'text'] = None if opts is None else opts.get(b'text')
124 binary = None if opts is None else opts.get(b'binary')
124 binary = None if opts is None else opts.get(b'binary')
125 buildopts[b'nobinary'] = (
125 buildopts[b'nobinary'] = (
126 not binary
126 not binary
General Comments 0
You need to be logged in to leave comments. Login now