This file is indexed.

/usr/share/pyshared/txaws/ec2/exception.py is in python-txaws 0.2.3-1ubuntu1.

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
# Copyright (c) 2009 Canonical Ltd <duncan.mcgreggor@canonical.com>
# Licenced under the txaws licence available at /LICENSE in the txaws source.

from txaws.exception import AWSError


class EC2Error(AWSError):
    """
    A error class providing custom methods on EC2 errors.
    """
    def _set_400_error(self, tree):
        errors_node = tree.find(".//Errors")
        if errors_node is not None:
            for error in errors_node:
                data = self._node_to_dict(error)
                if data:
                    self.errors.append(data)