/usr/lib/python2.7/dist-packages/gadfly/sql.py is in python-gadfly 1.0.0-16.
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 36 37 38 39 40 41 42 43 44 | ''' defines the SQL grammar and bahaviour for gadfly
:Author: Aaron Watters
:Maintainers: http://gadfly.sf.net/
:Copyright: Aaron Robert Watters, 1994
:Id: $Id: sql.py,v 1.5 2002/05/11 02:59:05 richard Exp $:
'''
def getSQL():
from grammar import DeclareTerminals
from gadfly import kjParser
infile = 'gadfly.sql_mar'
try:
SQLG = kjParser.UnMarshalGram(infile)
except ImportError:
raise ImportError, "Couldn't find sql_mar.py - has setup.py been run?"
DeclareTerminals(SQLG)
return SQLG
#
# $Log: sql.py,v $
# Revision 1.5 2002/05/11 02:59:05 richard
# Added info into module docstrings.
# Fixed docco of kwParsing to reflect new grammar "marshalling".
# Fixed bug in gadfly.open - most likely introduced during sql loading
# re-work (though looking back at the diff from back then, I can't see how it
# wasn't different before, but it musta been ;)
# A buncha new unit test stuff.
#
# Revision 1.4 2002/05/08 00:49:00 anthonybaxter
# El Grande Grande reindente! Ran reindent.py over the whole thing.
# Gosh, what a lot of checkins. Tests still pass with 2.1 and 2.2.
#
# Revision 1.3 2002/05/07 07:55:34 anthonybaxter
# more helpful message.
#
# Revision 1.2 2002/05/07 07:06:11 richard
# Cleaned up sql grammar compilation some more.
# Split up the BigList into its components too.
#
# Revision 1.1.1.1 2002/05/06 07:31:10 richard
#
#
#
|