diff options
author | tsarna <tsarna@pkgsrc.org> | 2004-10-05 20:02:10 +0000 |
---|---|---|
committer | tsarna <tsarna@pkgsrc.org> | 2004-10-05 20:02:10 +0000 |
commit | 4c9a1a6f06a83c0a4ba0f1a3db17c7e5a82ef27c (patch) | |
tree | 2f69af838e89d883c1bc9b5218472f4bfa3915a4 /databases/py-sybase | |
parent | 5321f75b621911adc73cc4f33adb772f084b9e20 (diff) | |
download | pkgsrc-4c9a1a6f06a83c0a4ba0f1a3db17c7e5a82ef27c.tar.gz |
Fix error in patch
Diffstat (limited to 'databases/py-sybase')
-rw-r--r-- | databases/py-sybase/patches/patch-aa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/py-sybase/patches/patch-aa b/databases/py-sybase/patches/patch-aa index 2b0d3ece34f..613fc2b0cb9 100644 --- a/databases/py-sybase/patches/patch-aa +++ b/databases/py-sybase/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1 2004/10/05 19:49:28 tsarna Exp $ +$NetBSD: patch-aa,v 1.2 2004/10/05 20:02:10 tsarna Exp $ Treat more informational messages as non-fatal, and add an extension to allow an application to capture them. @@ -30,7 +30,7 @@ extension to allow an application to capture them. + # 6200-6299 SHOWPLAN output (Sybase) + _output_hooks.get(conn, lambda c,m: None)(conn, msg) + else: -+ raise DatabaseError(_fmt_server(msg.text)) ++ raise DatabaseError(_fmt_server(msg)) def _row_bind(cmd, count = 1): '''Bind buffers for count rows of column data. |