From 4c9a1a6f06a83c0a4ba0f1a3db17c7e5a82ef27c Mon Sep 17 00:00:00 2001 From: tsarna Date: Tue, 5 Oct 2004 20:02:10 +0000 Subject: Fix error in patch --- databases/py-sybase/patches/patch-aa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'databases/py-sybase') 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. -- cgit v1.2.3