ports/databases/gadfly/files/patch-bindngs
Martin Wilke ea4e306b4e - Fix work with py 2.6
PR:		143070
Submitted by:	Edmondas Girkantas <eg@fbsd.lt>
2010-01-25 08:55:35 +00:00

34 lines
899 B
Text

--- gadfly/bindings.py.orig 2010-01-21 23:10:47.000000000 +0200
+++ gadfly/bindings.py 2010-01-21 23:11:28.000000000 +0200
@@ -61,7 +61,7 @@
# create view statement stuff
def createview(l, c):
- [create, view, name, namelist, as, selection] = l
+ [create, view, name, namelist, as_, selection] = l
return semantics.CreateView(name, namelist, selection)
optnamelist0 = returnNone
@@ -288,11 +288,11 @@
return others
def trl1as(l,c):
- [name, as, alias] = l
+ [name, as_, alias] = l
return [(name, alias)]
def trlnas(l,c):
- [name, as, alias, comma, others] = l
+ [name, as_, alias, comma, others] = l
others.insert(0, (name, alias))
return others
@@ -546,7 +546,7 @@
return (exp, None) # no binding!
def selectname(list, context):
- [exp, as, alias] = list
+ [exp, as_, alias] = list
return (exp, alias)
colalias = elt0