Add/fix shebang in python scripts, add execute permission (linux), remove whitespace/tabs at end of line

This commit is contained in:
Chocobo1
2015-07-11 13:51:30 +08:00
parent bbe51268d3
commit a59d1d3240
34 changed files with 207 additions and 182 deletions

4
tools/parse_sample.py Normal file → Executable file
View File

@@ -1,3 +1,5 @@
#!/usr/bin/env python
import sys
# to use this script, first run 'sample' to sample your libtorrent based process
@@ -95,7 +97,7 @@ for l in f:
if 'BN_CTX_free' == fun: fold = indentation
if 'cerror' == fun: fold = indentation
if '0xffffffff' == fun: fold = indentation
list = []
for k in fun_samples:
list.append((fun_samples[k], k))