Kaynağa Gözat

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

Heikki Hokkanen 18 yıl önce
ebeveyn
işleme
76d1dc7a8b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      gitstats

+ 1
- 1
gitstats Dosyayı Görüntüle

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