Преглед изворни кода

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