def __compute_serially(self, urls):
    start_time = datetime.utcnow()
    sizes_by_file = dict()
    for url in urls:
        sizes_by_file[url] = self.__get_size_of_file(url)
    self.Log.info('Total size of all {0} URLs: {1}'.format(len(urls), sum(sizes_by_file.values())))
    time_diff = (datetime.utcnow() - start_time)
    self.Log.info('Serial version took: {0}'.format(self.get_timespan(time_diff.seconds)))
def __compute_serially(self, urls):
    start_time = datetime.utcnow()
    sizes_by_file = dict()
    for url in urls:
        sizes_by_file[url] = self.__get_size_of_file(url)
    self.Log.info('Total size of all {0} URLs: {1}'.format(len(urls), sum(sizes_by_file.values())))
    time_diff = (datetime.utcnow() - start_time)
    self.Log.info('Serial version took: {0}'.format(self.get_timespan(time_diff.seconds)))