[Bps-public-commit] Prophet - A disconnected, replicated p2p database branch, master, updated. 0a2a0b97fe1467fb218eff322cc1bbc05c2f7876
spang at bestpractical.com
spang at bestpractical.com
Tue Jan 20 15:37:29 EST 2009
The branch, master has been updated
via 0a2a0b97fe1467fb218eff322cc1bbc05c2f7876 (commit)
via 2e63d411123787cac8c2f8a6d064fca40ef5c215 (commit)
from bb5d46b3fbae7db5b34b15d2961a7bb7f4dbc958 (commit)
Summary of changes:
lib/Prophet/CLI/Command/Update.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 2e63d411123787cac8c2f8a6d064fca40ef5c215
Author: Christine Spang <spang at bestpractical.com>
Date: Tue Jan 20 21:32:10 2009 +0200
quiet uninitialized warnings here
diff --git a/lib/Prophet/CLI/Command/Update.pm b/lib/Prophet/CLI/Command/Update.pm
index cf1b628..7564562 100644
--- a/lib/Prophet/CLI/Command/Update.pm
+++ b/lib/Prophet/CLI/Command/Update.pm
@@ -34,7 +34,7 @@ sub run {
# filter out props that haven't changed
for my $prop (keys %$new_props) {
delete $new_props->{$prop}
- if ($record->prop($prop) eq $new_props->{$prop});
+ if (($record->prop($prop) || '') eq $new_props->{$prop});
}
if (keys %$new_props) {
commit 0a2a0b97fe1467fb218eff322cc1bbc05c2f7876
Author: Christine Spang <spang at bestpractical.com>
Date: Tue Jan 20 21:39:30 2009 +0200
capitalize the beginning of this message since it is a full sentence
diff --git a/lib/Prophet/CLI/Command/Update.pm b/lib/Prophet/CLI/Command/Update.pm
index 7564562..cd7ca4d 100644
--- a/lib/Prophet/CLI/Command/Update.pm
+++ b/lib/Prophet/CLI/Command/Update.pm
@@ -41,7 +41,7 @@ sub run {
my $result = $record->set_props( props => $new_props );
if ($result) {
- print $record->type . " " . $record->luid . " (".$record->uuid.")"." updated.\n";
+ print ucfirst($record->type) . " " . $record->luid . " (".$record->uuid.")"." updated.\n";
} else {
print "SOMETHING BAD HAPPENED "
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list