Przeglądaj źródła

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

Heikki Hokkanen 18 lat temu
rodzic
commit
76d1dc7a8b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      gitstats

+ 1
- 1
gitstats Wyświetl plik

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