[Bps-public-commit] Prophet - A disconnected, replicated p2p database branch, master, updated. e13778c42cafe1b59664bed9c0c617e3e1c1bcc5
spang at bestpractical.com
spang at bestpractical.com
Mon Jan 19 12:14:25 EST 2009
The branch, master has been updated
via e13778c42cafe1b59664bed9c0c617e3e1c1bcc5 (commit)
from 5155ba49ee70ab2a7fdd4b0f82d93a0b9735afb9 (commit)
Summary of changes:
lib/Prophet/Record.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit e13778c42cafe1b59664bed9c0c617e3e1c1bcc5
Author: Christine Spang <spang at mit.edu>
Date: Mon Jan 19 19:14:12 2009 +0200
do validation joining better (fixes tests that I broke)
diff --git a/lib/Prophet/Record.pm b/lib/Prophet/Record.pm
index eaacd3d..734f582 100644
--- a/lib/Prophet/Record.pm
+++ b/lib/Prophet/Record.pm
@@ -482,7 +482,7 @@ sub validate_props {
}
}
if (@errors) {
- die join( '', @errors )."\n";
+ die join( "\n", @errors )."\n";
}
return 1;
}
@@ -593,7 +593,7 @@ sub validate_prop_from_recommended_values {
return 1 if scalar grep { $args->{props}{$prop} eq $_ } @options;
$args->{errors}{$prop}
- = "'" . $args->{props}->{$prop} . "' is not a valid $prop\n";
+ = "'" . $args->{props}->{$prop} . "' is not a valid $prop";
return 0;
}
return 1;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list