[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.11-108-g0ff6d77



The following commit has been merged in the master branch:
commit 0ff6d770dfcae1856890e2c0d80d8b3151df0148
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Jan 27 12:30:45 2013 +0100

    L::ProcessableGroup: Remove another unused "context ret value"
    
    Remove the context sensitivity of the return value for
    get_binary_processables, it is not used.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/lib/Lintian/ProcessableGroup.pm b/lib/Lintian/ProcessableGroup.pm
index 8f5e394..14a74e6 100644
--- a/lib/Lintian/ProcessableGroup.pm
+++ b/lib/Lintian/ProcessableGroup.pm
@@ -280,8 +280,8 @@ sub get_changes_processable {
 
 Returns all binary (and udeb) processables in $group.
 
-If $group does not have any binary processables then an empty list (or a
-ref to an empty list) is returned (based on context).
+If $group does not have any binary processables then an empty list is
+returned.
 
 =cut
 
@@ -291,7 +291,7 @@ sub get_binary_processables {
     foreach my $type (qw(binary udeb)){
         push @result, values %{$self->{$type}} if (exists $self->{$type});
     }
-    return wantarray ? @result : \@result;
+    return @result;
 }
 
 

-- 
Debian package checker


Reply to: