Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7d86799

Browse files
committed
Update expected files for older Python versions
neglected in commit fa03769
1 parent bad51a4 commit 7d86799

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pl/plpython/expected/plpython_subtransaction_0.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ with plpy.subtransaction():
128128
except plpy.SPIError, e:
129129
if not swallow:
130130
raise
131-
plpy.notice("Swallowed %r" % e)
131+
plpy.notice("Swallowed %s(%r)" % (e.__class__.__name__, e.args[0]))
132132
return "ok"
133133
$$ LANGUAGE plpythonu;
134134
ERROR: could not compile PL/Python function "subtransaction_nested_test"

src/pl/plpython/expected/plpython_subtransaction_5.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ with plpy.subtransaction():
128128
except plpy.SPIError, e:
129129
if not swallow:
130130
raise
131-
plpy.notice("Swallowed %r" % e)
131+
plpy.notice("Swallowed %s(%r)" % (e.__class__.__name__, e.args[0]))
132132
return "ok"
133133
$$ LANGUAGE plpythonu;
134134
ERROR: could not compile PL/Python function "subtransaction_nested_test"

0 commit comments

Comments
 (0)