This file is indexed.

/usr/share/pyshared/adodb/adodb_access.py is in python-adodb 2.10-1.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
########################################################################
# Vers 2.10 16 July 2008, (c)2004-2008 John Lim (jlim#natsoft.com) All Rights Reserved
# Released under a BSD-style license. See LICENSE.txt.
# Download: http://adodb.sourceforge.net/#pydownload
########################################################################

import adodb,adodb_pyodbc,datetime

try:
    True, False
except NameError:
    # Maintain compatibility with Python 2.2
    True, False = 1, 0
        
class adodb_access(adodb_pyodbc.adodb_pyodbc):
    databaseType = 'access'
    dataProvider = 'pyodbc'
    sysDate = "FORMAT(NOW,'yyyy-mm-dd')"
    sysTimeStamp = 'NOW'
    
    def _newcursor(self,rs):
        return cursor_access(rs,self)    
        
class cursor_access(adodb_pyodbc.cursor_pyodbc):
    def __init__(self,rs,conn):
        adodb_pyodbc.cursor_pyodbc.__init__(self,rs,conn)
        self._rowcount = rs.rowcount

if __name__ == '__main__':
    db = adodb_access()
    db.Connect("Driver={Microsoft Access Driver (*.mdb)};Dbq=d:\\inetpub\\adodb\\northwind.mdb;Uid=Admin;Pwd=;")
    adodb.Test(db)