This file is indexed.

/usr/lib/python3/dist-packages/screed/hava.py is in python3-screed 1.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright (c) 2016, The Regents of the University of California.

from __future__ import absolute_import
from . import DBConstants
from .utils import to_str

FieldTypes = (('hava', DBConstants._INDEXED_TEXT_KEY),
              ('quarzk', DBConstants._STANDARD_TEXT),
              ('muchalo', DBConstants._STANDARD_TEXT),
              ('fakours', DBConstants._STANDARD_TEXT),
              ('selimizicka', DBConstants._STANDARD_TEXT),
              ('marshoon', DBConstants._STANDARD_TEXT))


def hava_iter(handle):
    """
    Iterator over a 'hava' sequence file, returning records. handle
    is a handle to a file opened for reading
    """
    data = {}
    line = to_str(handle.readline().strip())
    while line:
        data['hava'] = line
        data['quarzk'] = to_str(handle.readline().strip())
        data['muchalo'] = to_str(handle.readline().strip())
        data['fakours'] = to_str(handle.readline().strip())
        data['selimizicka'] = to_str(handle.readline().strip())
        data['marshoon'] = to_str(handle.readline().strip())

        line = to_str(handle.readline().strip())
        yield data