Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7d86799

Browse files
committed
Update expected files for older Python versions
neglected in commitfa03769
1 parentbad51a4 commit7d86799

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)

[8]ページ先頭

©2009-2025 Movatter.jp