Skip to content
Snippets Groups Projects
Commit 51b40f03 authored by Andrew Dunstan's avatar Andrew Dunstan
Browse files

Looks like the new plpython regression test fails on older pythons. See if this works.
parent 7a846ecc
Branches
Tags
No related merge requests found
......@@ -123,7 +123,9 @@ CREATE FUNCTION trigger_data() returns trigger language plpythonu as $$
if TD.has_key('relid'):
TD['relid'] = "bogus:12345"
for key in sorted(TD.keys()):
skeys = TD.keys()
skeys.sort()
for key in skeys:
val = TD[key]
plpy.notice("TD[" + key + "] => " + str(val))
......
......
......@@ -151,7 +151,9 @@ CREATE FUNCTION trigger_data() returns trigger language plpythonu as $$
if TD.has_key('relid'):
TD['relid'] = "bogus:12345"
for key in sorted(TD.keys()):
skeys = TD.keys()
skeys.sort()
for key in skeys:
val = TD[key]
plpy.notice("TD[" + key + "] => " + str(val))
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment