From ac48e1cb19ac2f39df2213ee820445caa1e1b951 Mon Sep 17 00:00:00 2001
From: pycook <pythoncook@163.com>
Date: Fri, 1 Jan 2016 10:08:45 +0800
Subject: [PATCH] delete code line count

---
 .gitignore     |  1 +
 codeLineCnt.py | 15 ---------------
 2 files changed, 1 insertion(+), 15 deletions(-)
 delete mode 100644 codeLineCnt.py

diff --git a/.gitignore b/.gitignore
index 1cc6836..57532b8 100755
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,4 @@ core/special.py
 lib/special
 lib/audit*
 templates/*audit*
+codeLin*
diff --git a/codeLineCnt.py b/codeLineCnt.py
deleted file mode 100644
index 247aa7d..0000000
--- a/codeLineCnt.py
+++ /dev/null
@@ -1,15 +0,0 @@
-import os
-from collections import defaultdict
-
-d = defaultdict(int) # value is 'int'
-
-for dirpath, dirnames, filenames in os.walk('.'):
-    for filename in filenames:
-        if dirpath.endswith("tools"):
-            continue
-        path = os.path.join(dirpath, filename)
-        ext = os.path.splitext(filename)[1]
-        d[ext] += len(list(open(path)))
-
-for ext, n_lines in d.items():
-    print ext, n_lines