Pārlūkot izejas kodu

Remove some debugging prints etc.

Added in a01045f2480a21f28dd90e278b4f560020a97b9e.
Heikki Hokkanen 17 gadus atpakaļ
vecāks
revīzija
b75bf01262
1 mainītis faili ar 1 papildinājumiem un 7 dzēšanām
  1. 1
    7
      gitstats

+ 1
- 7
gitstats Parādīt failu

@@ -134,10 +134,7 @@ class GitDataCollector(DataCollector):
134 134
 		for line in lines:
135 135
 			if len(line) == 0:
136 136
 				continue
137
-			print "line = ", line
138
-			splitted_str = line.split(' ')
139
-			print "splitted_str = ", splitted_str
140
-			(hash, tag) = splitted_str
137
+			(hash, tag) = line.split(' ')
141 138
 
142 139
 			tag = tag.replace('refs/tags/', '')
143 140
 			output = getpipeoutput(['git-log "%s" --pretty=format:"%%at %%an" -n 1' % hash])
@@ -160,9 +157,6 @@ class GitDataCollector(DataCollector):
160 157
 			try:
161 158
 				stamp = int(parts[0])
162 159
 			except ValueError:
163
-				print "lines = ", lines
164
-				print "line = ", line
165
-				raise
166 160
 				stamp = 0
167 161
 			if len(parts) > 1:
168 162
 				author = ' '.join(parts[1:])