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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy