Index: sitescripts/stats/bin/logprocessor.py |
=================================================================== |
--- a/sitescripts/stats/bin/logprocessor.py |
+++ b/sitescripts/stats/bin/logprocessor.py |
@@ -518,17 +518,17 @@ def parse_source(factor, lock, (mirror_n |
try: |
save_stats(server_type, data, factor) |
finally: |
lock.release() |
return log_file, ignored |
except: |
print >>sys.stderr, "Unable to process log file '%s'" % log_file |
traceback.print_exc() |
- return None, None, None, None |
+ return None, None |
def parse_sources(sources, factor=1, verbose=False): |
pool = multiprocessing.Pool() |
lock = multiprocessing.Manager().Lock() |
callback = functools.partial(parse_source, factor, lock) |
try: |
for log_file, ignored in pool.imap_unordered(callback, sources, chunksize=1): |
if verbose and ignored: |