This file is indexed.

/usr/share/pyshared/sqlalchemy/dialects/maxdb/sapdb.py is in python-sqlalchemy 0.7.4-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
# maxdb/sapdb.py
# Copyright (C) 2005-2011 the SQLAlchemy authors and contributors <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php

from sqlalchemy.dialects.maxdb.base import MaxDBDialect

class MaxDBDialect_sapdb(MaxDBDialect):
    driver = 'sapdb'

    @classmethod
    def dbapi(cls):
        from sapdb import dbapi as _dbapi
        return _dbapi

    def create_connect_args(self, url):
        opts = url.translate_connect_args(username='user')
        opts.update(url.query)
        return [], opts


dialect = MaxDBDialect_sapdb