This file is indexed.

/usr/share/arm/gui/connections/circEntry.py is in tor-arm 1.4.5.0-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
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""
Connection panel entries for client circuits.
"""

import time

from cli.connections import entries
from gui.connections import connEntry
from util import gtkTools, uiTools

class CircHeaderLine(connEntry.ConnectionLine):
  def __init__(self, cliLine):
    connEntry.ConnectionLine.__init__(self, cliLine)

  def get_listing_row(self, listingType):
    row = connEntry.ConnectionLine.get_listing_row(self, listingType)
    theme = gtkTools.Theme()
    return row[:-2] + (theme.colors['active'], self)

class CircLine(connEntry.ConnectionLine):
  def __init__(self, cliLine):
    connEntry.ConnectionLine.__init__(self, cliLine)

    self.parentIter = None

  def get_listing_row(self, listingType):
    dst, etc = "", ""

    if listingType == entries.ListingType.IP_ADDRESS:
      dst = self.cliLine.getDestinationLabel(100, includeLocale=True)
      etc = self.cliLine.foreign.getNickname()

    theme = gtkTools.Theme()

    return (dst, etc, self.cliLine.placementLabel, self.cliLine.getType(), theme.colors['insensitive'], self)