[libnet-dbus-perl] 325/335: Remove bogus $nomainloop parameter in 'new' constructor
Intrigeri
intrigeri at moszumanska.debian.org
Sat Mar 21 01:08:16 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 2e5aeaff23edc1ffe22070067a8d4de3f7edbcea
Author: Daniel P. Berrange <berrange at redhat.com>
Date: Mon Mar 16 19:51:43 2015 +0000
Remove bogus $nomainloop parameter in 'new' constructor
The 'nomainloop' parameter is supposed to be passed as a hash
key, not as a positional parameter. The 'new' method was
shifting this parameter off the list by mistake and then not
using it. This is a potentially backwards incompatible change
but the previous behaviour was unusable.
---
lib/Net/DBus.pm | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/Net/DBus.pm b/lib/Net/DBus.pm
index 6941b9e..0b26dfe 100644
--- a/lib/Net/DBus.pm
+++ b/lib/Net/DBus.pm
@@ -262,7 +262,6 @@ attached to the main L<Net::DBus::Reactor> event loop.
sub new {
my $class = shift;
- my $nomainloop = shift;
return $class->_new(Net::DBus::Binding::Bus->new(address => shift), @_);
}
--
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