[libnet-dbus-perl] 168/335: Append newline to error message when stringifying if not present. Bump version
Intrigeri
intrigeri at moszumanska.debian.org
Sat Mar 21 01:07:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to branch experimental
in repository libnet-dbus-perl.
commit a59d2288be539e7cbe13b31704cf03ba9c22f87d
Author: Daniel P. Berrange <dan at berrange.com>
Date: Wed Dec 21 12:06:15 2005 +0000
Append newline to error message when stringifying if not present. Bump version
---
lib/Net/DBus.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/Net/DBus.pm b/lib/Net/DBus.pm
index a33e392..48e3149 100644
--- a/lib/Net/DBus.pm
+++ b/lib/Net/DBus.pm
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# $Id: DBus.pm,v 1.21 2005/11/21 12:47:59 dan Exp $
+# $Id: DBus.pm,v 1.22 2005/12/21 12:06:15 dan Exp $
=pod
@@ -92,7 +92,7 @@ use Carp;
BEGIN {
- our $VERSION = '0.32.3';
+ our $VERSION = '0.32.4';
require XSLoader;
XSLoader::load('Net::DBus', $VERSION);
}
@@ -733,7 +733,7 @@ use overload ('""' => 'stringify');
sub stringify {
my $self = shift;
- return $self->{name} . ": " . $self->{message};
+ return $self->{name} . ": " . $self->{message} . ($self->{message} =~ /\n$/ ? "" : "\n");
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-dbus-perl.git
More information about the Pkg-perl-cvs-commits
mailing list