This file is indexed.

/usr/share/quickly/templates/unity-lens/project_root/python/__init__.py is in quickly-unity-lens-template 0.0.3-0ubuntu1.

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
32
33
import logging
import optparse

import gettext
from gettext import gettext as _
gettext.textdomain('project_name')

from singlet.lens import SingleScopeLens, IconViewCategory, ListViewCategory

from python_name import python_nameconfig

class camel_case_nameLens(SingleScopeLens):

    class Meta:
        name = 'lens_name'
        description = 'sentence_name Lens'
        search_hint = 'Search sentence_name'
        icon = 'lens_name.svg'
        search_on_blank=True

    # TODO: Add your categories
    example_category = ListViewCategory("Examples", 'help')

    def search(self, search, results):
        # TODO: Add your search results
        results.append('https://wiki.ubuntu.com/Unity/Lenses/Singlet',
                         'ubuntu-logo',
                         self.example_category,
                         "text/html",
                         'Learn More',
                         'Find out how to write your Unity Lens',
                         'https://wiki.ubuntu.com/Unity/Lenses/Singlet')
        pass