From 2ba1e3264012d9aabcd4a22ddd5a21533f8ed0ec Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Tue, 1 Dec 2009 20:25:08 +0100 Subject: [PATCH] Integrated change from upstream --- debpaste | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debpaste b/debpaste index 575a83c..5c3668b 100755 --- a/debpaste +++ b/debpaste @@ -370,7 +370,7 @@ sub edit { if $rc->{rc}; print $rc->{statusmessage},"\n"; print "To delete this entry, use: $0 del $rc->{id}\n"; - $self->save_entry($rc); + $self->_save_entry($rc); } sub _spawn_editor { @@ -509,10 +509,10 @@ sub add { if $rc->{rc}; print $rc->{statusmessage},"\n"; print "To delete this entry, use: $0 del $rc->{id}\n"; - $self->save_entry($rc); + $self->_save_entry($rc); } -sub save_entry { +sub _save_entry { my ($self, $rc) = @_; # return unless $self->{save_pastes}; my $file = $self->{history_file} -- 2.11.4.GIT