Add/fix shebang in python scripts, add execute permission (linux), remove whitespace/tabs at end of line
This commit is contained in:
4
docs/gen_todo.py
Normal file → Executable file
4
docs/gen_todo.py
Normal file → Executable file
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import glob
|
||||
import os
|
||||
|
||||
@@ -54,7 +56,7 @@ for f in files:
|
||||
prio = items[-1]['priority']
|
||||
if prio >= 0 and prio <= 4: priority_count[prio] += 1
|
||||
continue
|
||||
|
||||
|
||||
if state == '':
|
||||
context.append(html_sanitize(l))
|
||||
if len(context) > 20: context.pop(0)
|
||||
|
Reference in New Issue
Block a user