Removed test.py, updated .gitignore to ignore test.py

master
Trey Blancher 12 months ago
parent ac2a397c19
commit 980d90718f
  1. 3
      .gitignore
  2. 19
      test.py

3
.gitignore vendored

@ -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

@ -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…
Cancel
Save