##// END OF EJS Templates
py3: use .startswith() instead of bytes[0]...
Pulkit Goyal -
r35932:7a991241 default
parent child Browse files
Show More
@@ -1841,7 +1841,7 b' def _getsortargs(x):'
1841 keyflags = []
1841 keyflags = []
1842 for k in keys.split():
1842 for k in keys.split():
1843 fk = k
1843 fk = k
1844 reverse = (k[0] == '-')
1844 reverse = (k.startswith('-'))
1845 if reverse:
1845 if reverse:
1846 k = k[1:]
1846 k = k[1:]
1847 if k not in _sortkeyfuncs and k != 'topo':
1847 if k not in _sortkeyfuncs and k != 'topo':
General Comments 0
You need to be logged in to leave comments. Login now