[Jifty-commit] r4224 - jifty/trunk/lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Oct 10 10:58:55 EDT 2007


Author: sunnavy
Date: Wed Oct 10 10:58:47 2007
New Revision: 4224

Modified:
   jifty/trunk/lib/Jifty/Handle.pm

Log:
warnings should be to STDERR

Modified: jifty/trunk/lib/Jifty/Handle.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Handle.pm	(original)
+++ jifty/trunk/lib/Jifty/Handle.pm	Wed Oct 10 10:58:47 2007
@@ -214,7 +214,8 @@
         $self->disconnect if $^O eq 'MSWin32';
         unlink($database);
     } else {
-        local $SIG{__WARN__} = sub {print $_[0] unless $_[0] =~ /exist/i};
+        local $SIG{__WARN__} =
+          sub { print STDERR $_[0] unless $_[0] =~ /exist|couldn't execute/i };
         $self->simple_query("DROP DATABASE $database");
     }
 }


More information about the Jifty-commit mailing list