[Bps-public-commit] r14706 - in sd/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Fri Aug 1 09:47:45 EDT 2008
Author: sartak
Date: Fri Aug 1 09:47:45 2008
New Revision: 14706
Modified:
sd/trunk/ (props changed)
sd/trunk/lib/App/SD/CLI/Command.pm
Log:
r68240 at onn: sartak | 2008-08-01 09:47:29 -0400
Revert to checking the content arg instead of the content prop, since this is prop-agnostic
Modified: sd/trunk/lib/App/SD/CLI/Command.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command.pm (original)
+++ sd/trunk/lib/App/SD/CLI/Command.pm Fri Aug 1 09:47:45 2008
@@ -32,7 +32,7 @@
if (my $file = file($self->delete_arg('file'))) {
$content = $file->slurp();
$self->set_prop(name => $file->basename);
- } elsif ($content = $self->delete_prop('content')) {
+ } elsif ($content = $self->delete_arg('content')) {
} elsif ($args{default_edit} || $self->has_arg('edit')) {
my $text = '';
More information about the Bps-public-commit
mailing list