This file is indexed.

/usr/lib/python3/dist-packages/wormhole/cli/welcome.py is in magic-wormhole 0.10.3-1.

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
from __future__ import print_function, absolute_import, unicode_literals

def handle_welcome(welcome, relay_url, my_version, stderr):
    if "motd" in welcome:
        motd_lines = welcome["motd"].splitlines()
        motd_formatted = "\n ".join(motd_lines)
        print("Server (at %s) says:\n %s" % (relay_url, motd_formatted),
              file=stderr)

    # Only warn if we're running a release version (e.g. 0.0.6, not
    # 0.0.6+DISTANCE.gHASH). Only warn once.
    if ("current_cli_version" in welcome
        and "+" not in my_version
        and welcome["current_cli_version"] != my_version):
        print("Warning: errors may occur unless both sides are running the same version", file=stderr)
        print("Server claims %s is current, but ours is %s"
              % (welcome["current_cli_version"], my_version),
              file=stderr)