[Jifty-commit] r713 - in Jifty-DBI/trunk: lib/Jifty/DBI

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Mar 20 21:18:07 EST 2006

Author: alexmv
Date: Mon Mar 20 21:18:06 2006
New Revision: 713

   Jifty-DBI/trunk/   (props changed)

 r11731 at zoq-fot-pik:  chmrr | 2006-03-20 21:17:57 -0500
  * We need to import (and use correctly) croak

Modified: Jifty-DBI/trunk/lib/Jifty/DBI/Schema.pm
--- Jifty-DBI/trunk/lib/Jifty/DBI/Schema.pm	(original)
+++ Jifty-DBI/trunk/lib/Jifty/DBI/Schema.pm	Mon Mar 20 21:18:06 2006
@@ -37,7 +37,7 @@
-use Carp qw/carp/;
+use Carp qw/croak carp/;
 use Exporter::Lite;
 our @EXPORT
     = qw(column type default validator immutable unreadable length distinct mandatory not_null valid_values label hints render_as since input_filters output_filters filters virtual is by are on);
@@ -63,7 +63,7 @@
     croak "Base of schema class $from is not a Jifty::DBI::Record"
       unless UNIVERSAL::isa($from, "Jifty::DBI::Record");
-    carp "Illegal column definition for column $name in $from"
+    croak "Illegal column definition for column $name in $from"
       if grep {not UNIVERSAL::isa($_, "Jifty::DBI::Schema::Trait")} @_;

More information about the Jifty-commit mailing list