def parse_checksum_file(self, file):
        """
        :param file
        :return dict

        """
        checksums = dict()
        file_path = '/'.join((self.rawdir, file))
        with open(file_path, 'rt') as tsvfile:
            reader = csv.reader(tsvfile, delimiter=' ')
            for row in reader:
                (checksum, whitespace, file_name) = row
                checksums[checksum] = file_name

        return checksums
def parse_checksum_file ( self , file ) : checksums = dict ( ) file_path = '/' . join ( ( self . rawdir , file ) ) with open ( file_path , 'rt' ) as tsvfile : reader = csv . reader ( tsvfile , delimiter = ' ' ) for row in reader : ( checksum , whitespace , file_name ) = row checksums [ checksum ] = file_name return checksums
:param file
        :return dict