Removed test.py, updated .gitignore to ignore test.py
This commit is contained in:
parent
ac2a397c19
commit
980d90718f
|
@ -4,7 +4,8 @@
|
|||
*.tar
|
||||
*.pyc
|
||||
*.sw*
|
||||
test.*
|
||||
test.sh
|
||||
test.py
|
||||
work
|
||||
timetracker.py-pre-incident-fixup
|
||||
do_process.bak2017-11-06_file-test
|
||||
|
|
19
test.py
19
test.py
|
@ -1,19 +0,0 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import fileinput
|
||||
import math
|
||||
import re
|
||||
import sys
|
||||
import time
|
||||
|
||||
empty = re.compile("^\s*$")
|
||||
delim = re.compile(":\s{2}")
|
||||
stripped = {}
|
||||
|
||||
for line in fileinput.input():
|
||||
if empty.match(line):
|
||||
continue
|
||||
|
||||
print line
|
||||
stripped = delim.split(line.strip())
|
||||
print len(stripped)
|
Loading…
Reference in New Issue