소스 검색

Don't list the "wc -l" commands.

Heikki Hokkanen 18 년 전
부모
커밋
76d1dc7a8b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      gitstats

+ 1
- 1
gitstats 파일 보기

@@ -250,7 +250,7 @@ class GitDataCollector(DataCollector):
250 250
 			self.extensions[ext]['files'] += 1
251 251
 			try:
252 252
 				# Escaping could probably be improved here
253
-				self.extensions[ext]['lines'] += int(getoutput('wc -l < %s' % re.sub(r'(\W)', r'\\\1', line)))
253
+				self.extensions[ext]['lines'] += int(getoutput('wc -l < %s' % re.sub(r'(\W)', r'\\\1', line), quiet = True))
254 254
 			except:
255 255
 				print 'Warning: Could not count lines for file "%s"' % line
256 256