pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-sybase/patches Fix error in patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5ca9a41f374
branches:  trunk
changeset: 481489:c5ca9a41f374
user:      tsarna <tsarna%pkgsrc.org@localhost>
date:      Tue Oct 05 20:02:10 2004 +0000

description:
Fix error in patch

diffstat:

 databases/py-sybase/patches/patch-aa |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f0cdd068ffd0 -r c5ca9a41f374 databases/py-sybase/patches/patch-aa
--- a/databases/py-sybase/patches/patch-aa      Tue Oct 05 19:49:28 2004 +0000
+++ b/databases/py-sybase/patches/patch-aa      Tue Oct 05 20:02:10 2004 +0000
@@ -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 @@
 +        # 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.



Home | Main Index | Thread Index | Old Index